-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
37 lines (32 loc) · 1.06 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[package]
authors = ["Floris Cornel <floris@cornel.email>"]
description = "A CLI tool to assist in solving wordle puzzles"
edition = "2021"
license = "MIT/Apache-2.0"
name = "wordle-assistant"
readme = "README.md"
repository = "https://github.com/floriscornel/wordle-assistant"
version = "0.1.2"
[[bin]]
name = "cli"
required-features = ["cli"]
[[bin]]
name = "api"
required-features = ["api"]
[features]
cli = ["dep:inquire"]
api_code = ["dep:serde"]
api_axum = ["dep:axum", "dep:tokio", "dep:tower-http"]
api = ["api_code", "api_axum"]
all = ["cli", "api"]
[dependencies]
phf = { version = "0.11.1", default-features = false }
inquire = { version = "0.6.2", features = ["date", "editor"], optional = true }
axum = { version = "0.6.18", optional = true }
tower-http = { version = "0.4.0", features = ["cors"], optional = true }
tokio = { version = "1.28.2", features = ["full"], optional = true }
serde = { version = "1.0.164", features = ["derive"], optional = true }
[build-dependencies]
csv = "1.2.2"
phf = { version = "0.11.1", default-features = false }
phf_codegen = "0.11.1"