diff --git a/Cargo.toml b/Cargo.toml index d96411e..d9d8b3c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,16 @@ readme = "README.md" homepage = "https://git.cscherr.de/PlexSheep/wordle-analyzer" repository = "https://git.cscherr.de/PlexSheep/wordle-analyzer" keywords = ["wordle", "benchmark"] +default-run = "wordle" +[features] +default = ["game", "bench"] +game = [] +bench = [] [dependencies] +[[bin]] +name = "cliwordle" +path = "src/bin/cliwordle.rs" +required-features = ["game"] diff --git a/src/bin/cliwordle.rs b/src/bin/cliwordle.rs new file mode 100644 index 0000000..ee80563 --- /dev/null +++ b/src/bin/cliwordle.rs @@ -0,0 +1,3 @@ +fn main() { + unimplemented!(); +} diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 0000000..e69de29 diff --git a/src/main.rs b/src/main.rs deleted file mode 100644 index e7a11a9..0000000 --- a/src/main.rs +++ /dev/null @@ -1,3 +0,0 @@ -fn main() { - println!("Hello, world!"); -}