-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathCargo.toml
48 lines (42 loc) · 1.2 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
[package]
name = "tlrc"
version = "1.10.0"
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.31", features = ["derive", "wrap_help"] }
dirs = "6.0.0"
once_cell = "1.20.3"
ring = "0.17.12"
serde = { version = "1.0.218", features = ["derive"] }
terminal_size = "0.4.1"
toml = "0.8.20"
unicode-width = { version = "0.2.0", default-features = false }
ureq = { version = "3.0.8", default-features = false, features = ["rustls", "platform-verifier"] }
yansi = "1.0.1"
zip = { version = "2.2.3", 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"