-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
57 lines (53 loc) · 1.63 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[package]
name = "cargo-leet"
version = "0.2.0"
authors = ["Members of Rust Practice Discord Server"]
categories = ["command-line-utilities"]
edition = "2021"
keywords = ["leetcode", "leetcode-cli", "cli"]
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/rust-practice/cargo-leet"
description = "Utility program to help with working on leetcode locally"
[dependencies]
anyhow = { version = "1.0.71", optional = true }
cargo-generate = { version = "0.21.3", optional = true }
clap = { version = "4.3.3", features = ["derive", "cargo"], optional = true }
convert_case = { version = "0.6", optional = true }
env_logger = { version = "0.11", optional = true }
itertools = { version = "0.13.0", optional = true }
log = { version = "0.4.18", optional = true }
regex = { version = "1.8.4", optional = true }
serde = { version = "1.0.164", features = ["derive"], optional = true }
serde_json = { version = "1.0.113", optional = true }
strum = { version = "0.26", features = ["derive"], optional = true }
toml = { version = "0.8.19", optional = true }
ureq = { version = "2.6", features = ["json"], optional = true }
[[bin]]
name = "cargo-leet"
path = "src/main.rs"
required-features = ["tool"]
[features]
default = ["leet_env"]
# Add support for leetcode's environment
leet_env = []
# Items used when running as a binary
tool = [
"anyhow",
"clap",
"convert_case",
"env_logger",
"log",
"regex",
"serde_json",
"serde",
"strum",
"ureq",
"toml",
"itertools",
"cargo-generate",
]
[dev-dependencies]
insta = { version = "1.34.0", default-features = false }
rand = "0.8.5"
rstest = "0.18.2"