2024-03-20 16:04:33 +01:00
|
|
|
[package]
|
2024-03-20 16:38:22 +01:00
|
|
|
name = "wordle-analyzer"
|
2024-08-07 14:27:52 +02:00
|
|
|
version = "0.1.0-alpha.0"
|
2024-03-20 16:04:33 +01:00
|
|
|
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"]
|
2024-03-21 11:17:01 +01:00
|
|
|
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]
|
2024-03-21 11:17:01 +01:00
|
|
|
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 }
|
2024-07-22 13:33:35 +02:00
|
|
|
libpt = { version = "0.6.0", features = ["cli"] }
|
2024-04-05 20:00:33 +02:00
|
|
|
num_cpus = "1.16.0"
|
2024-03-21 14:32:24 +01:00
|
|
|
rand = "0.8.5"
|
2024-04-05 10:04:57 +02:00
|
|
|
rayon = "1.10.0"
|
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-07-22 14:11:29 +02:00
|
|
|
strum = "0.26.3"
|
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-07-25 14:46:20 +02:00
|
|
|
tracing-test = "0.2.5"
|
2024-03-20 16:04:33 +01:00
|
|
|
|
2024-03-20 17:04:54 +01:00
|
|
|
[[bin]]
|
2024-03-21 11:17:01 +01:00
|
|
|
name = "wordlec"
|
|
|
|
path = "src/bin/game/cli.rs"
|
2024-03-26 00:16:26 +01:00
|
|
|
required-features = ["game", "cli", "builtin"]
|
2024-03-21 11:17:01 +01:00
|
|
|
|
|
|
|
[[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"]
|
2024-07-25 14:46:20 +02:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2024-08-07 14:27:52 +02:00
|
|
|
test-log = { version = "0.2.16", default-features = false, features = [
|
|
|
|
"color",
|
|
|
|
"trace",
|
|
|
|
] }
|
2024-08-07 22:10:17 +02:00
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "solver_naive"
|
|
|
|
harness = false
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "solver_stupid"
|
|
|
|
harness = false
|