Compare commits
2 Commits
Author | SHA1 | Date |
---|---|---|
Mossfet | ed61deb94a | |
Mossfet | fbbb59a1c1 |
|
@ -6,7 +6,7 @@ license = "GPL-3.0-or-later"
|
||||||
name = "mossfets-game-of-life"
|
name = "mossfets-game-of-life"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
repository = "https://git.solarpunk.moe/game-of-life"
|
repository = "https://git.solarpunk.moe/game-of-life"
|
||||||
version = "0.7.0"
|
version = "0.8.0"
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|
|
@ -1,13 +1,12 @@
|
||||||
//! A library implemting the logic for Conway's Game of Life
|
//! A library implemting the logic for Conway's Game of Life
|
||||||
//! It can be embedded into applications, and can read the Plaintext and Life 1.05 file formats.
|
//! It can be embedded into applications, and can read the Plaintext and Life 1.05 file formats.
|
||||||
#![feature(test)]
|
//extern crate test;
|
||||||
extern crate test;
|
|
||||||
|
|
||||||
pub mod game;
|
pub mod game;
|
||||||
pub mod reader;
|
pub mod reader;
|
||||||
pub mod writer;
|
pub mod writer;
|
||||||
|
|
||||||
#[cfg(test)]
|
/*#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use super::*;
|
use super::*;
|
||||||
use test::Bencher;
|
use test::Bencher;
|
||||||
|
@ -16,4 +15,4 @@ mod tests {
|
||||||
let mut game = reader::read_game_at_path("tests/cells/spacefiller.cells").unwrap();
|
let mut game = reader::read_game_at_path("tests/cells/spacefiller.cells").unwrap();
|
||||||
b.iter(|| game.advance_board());
|
b.iter(|| game.advance_board());
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
|
|
Loading…
Reference in New Issue