-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
70 lines (62 loc) · 1.79 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
58
59
60
61
62
63
64
65
66
67
68
69
70
[package]
name = "nvrs"
version = "0.1.5"
authors = ["Adam Perkowski <[email protected]>"]
license = "MIT"
description = "🚦 fast new version checker for software releases 🦀"
repository = "https://github.com/adamperkowski/nvrs"
readme = "README.md"
categories = ["command-line-interface", "command-line-utilities"]
edition = "2021"
include = [
"**/*.rs",
"src/**/*",
"Cargo.toml",
"README.md",
"LICENSE",
"CHANGELOG.md",
"rustfmt.toml",
"man/nvrs.1"
]
[features]
nvrs_cli = ["clap", "colored", "futures"]
default = ["aur", "crates-io", "github", "gitlab", "regex"]
aur = []
crates-io = []
github = []
gitlab = []
regex = ["dep:regex"]
[[bin]]
name = "nvrs"
path = "src/main.rs"
required-features = ["nvrs_cli"]
[[bin]]
name = "nvrs_tui"
path = "src/tui.rs"
required-features = ["nvrs_tui"]
[dependencies]
clap = { version = "4.5.23", features = ["derive", "color", "error-context", "help", "std", "usage"], default-features = false , optional = true }
colored = { version = "2.2.0", optional = true }
futures = { version = "0.3.31", optional = true }
regex = { version = "1.11.1", optional = true }
reqwest = { version = "0.12.9", features = ["__tls", "charset", "default-tls", "h2", "http2", "json"], default-features = false }
serde = { version = "1.0.216", features = ["derive"], default-features = false }
serde_json = "1.0.134"
thiserror = "2.0.9"
tokio = { version = "1.42.0", features = ["full"] }
toml = { version = "0.8.19", features = ["parse", "display"], default-features = false }
[dev-dependencies]
tokio-test = "0.4.4"
criterion = { version = "0.5.1", features = ["html_reports"] }
[profile.release]
lto = "fat"
codegen-units = 1
panic = "abort"
strip = true
opt-level = "z"
[profile.bench]
opt-level = 3
debug = false
[[bench]]
name = "nvrs_bench"
harness = false