[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.11", features = ["derive"] } dirs = "5.0.1" once_cell = "1.19.0" ring = "0.17.8" serde = { version = "1.0.204", features = ["derive"] } toml = "0.8.16" ureq = { version = "2.10.0", default-features = false, features = ["tls", "native-certs"] } yansi = "1.0.1" zip = { version = "2.1.5", default-features = false, features = ["deflate"] } [dev-dependencies] assert_cmd = "2.0.15" [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"