wordle-analyzer/Cargo.toml

57 lines
1.4 KiB
TOML
Raw Normal View History

2024-03-20 16:04:33 +01:00
[package]
2024-03-20 16:38:22 +01:00
name = "wordle-analyzer"
2024-03-20 16:04:33 +01:00
version = "0.1.0"
edition = "2021"
publish = false
authors = ["Christoph J. Scherr <software@cscherr.de>"]
license = "MIT"
2024-03-20 16:38:22 +01:00
description = "Play, Analyze and Benchmark Wordle / Wordle Strategies"
2024-03-20 16:04:33 +01:00
readme = "README.md"
2024-03-20 16:38:22 +01:00
homepage = "https://git.cscherr.de/PlexSheep/wordle-analyzer"
repository = "https://git.cscherr.de/PlexSheep/wordle-analyzer"
keywords = ["wordle", "benchmark"]
default-run = "wordlec"
2024-03-20 16:04:33 +01:00
2024-03-20 17:04:54 +01:00
[features]
2024-03-26 00:16:26 +01:00
default = ["game", "bench", "tui", "solve", "builtin", "serde"]
builtin = ["dep:serde_json", "serde"]
game = []
2024-03-22 14:12:49 +01:00
solve = ["game"]
2024-03-22 00:01:40 +01:00
tui = ["cli"]
cli = ["dep:clap"]
2024-03-20 17:04:54 +01:00
bench = []
2024-03-21 14:32:24 +01:00
serde = ["dep:serde"]
2024-03-20 16:04:33 +01:00
[dependencies]
anyhow = "1.0.81"
2024-04-04 21:07:52 +02:00
chrono = { version = "0.4.37" }
2024-03-22 00:01:40 +01:00
clap = { version = "4.5.3", features = ["derive"], optional = true }
colored = { version = "2.1.0", optional = false }
libpt = "0.4.2"
2024-03-21 14:32:24 +01:00
rand = "0.8.5"
2024-03-22 17:26:34 +01:00
regex = "1.10.3"
2024-03-21 14:32:24 +01:00
serde = { version = "1.0.197", optional = true, features = ["serde_derive"] }
2024-03-22 00:01:40 +01:00
serde_json = { version = "1.0.114", optional = true }
2024-04-04 21:07:52 +02:00
# serde_with = "3.7.0"
2024-03-22 00:01:40 +01:00
thiserror = "1.0.58"
2024-03-20 16:04:33 +01:00
2024-03-20 17:04:54 +01:00
[[bin]]
name = "wordlec"
path = "src/bin/game/cli.rs"
2024-03-26 00:16:26 +01:00
required-features = ["game", "cli", "builtin"]
[[bin]]
name = "wordlet"
path = "src/bin/game/tui.rs"
2024-03-26 00:16:26 +01:00
required-features = ["tui", "game", "builtin"]
2024-03-22 13:00:49 +01:00
[[bin]]
name = "wordlesolve"
path = "src/bin/solve/simple.rs"
2024-03-26 00:16:26 +01:00
required-features = ["solve", "cli", "builtin"]
[[bin]]
name = "wordlebench"
path = "src/bin/bench/cli.rs"
required-features = ["solve", "cli", "bench", "builtin"]