-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Cargo.toml
46 lines (40 loc) · 1.1 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
[package]
name = "tlrc"
version = "1.9.3"
description = "Official tldr client written in Rust"
categories = ["command-line-utilities"]
homepage = "https://github.com/tldr-pages/tlrc"
repository = "https://github.com/tldr-pages/tlrc"
documentation = "https://tldr.sh/tlrc"
license = "MIT"
edition = "2021"
rust-version = "1.74"
[[bin]]
name = "tldr"
path = "src/main.rs"
[features]
default = ["socks-proxy"]
socks-proxy = ["ureq/socks-proxy"]
[dependencies]
clap = { version = "4.5.20", features = ["derive"] }
dirs = "5.0.1"
once_cell = "1.20.2"
ring = "0.17.8"
serde = { version = "1.0.214", features = ["derive"] }
toml = "0.8.19"
ureq = { version = "2.10.1", default-features = false, features = ["tls", "native-certs"] }
yansi = "1.0.1"
zip = { version = "2.2.0", default-features = false, features = ["deflate"] }
[dev-dependencies]
assert_cmd = "2.0.16"
[lints.clippy]
all = "warn"
pedantic = "warn"
style = "warn"
module_name_repetitions = { level = "allow", priority = 1 }
struct_excessive_bools = { level = "allow", priority = 1 }
[profile.release]
lto = true
strip = true
codegen-units = 1
panic = "abort"