# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.74" name = "tlrc" version = "1.9.3" build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Official tldr client written in Rust" homepage = "https://github.com/tldr-pages/tlrc" documentation = "https://tldr.sh/tlrc" readme = "README.md" categories = ["command-line-utilities"] license = "MIT" repository = "https://github.com/tldr-pages/tlrc" [profile.release] lto = true codegen-units = 1 panic = "abort" strip = true [[bin]] name = "tldr" path = "src/main.rs" [[test]] name = "tests" path = "tests/tests.rs" [dependencies.clap] version = "4.5.11" features = ["derive"] [dependencies.dirs] version = "5.0.1" [dependencies.once_cell] version = "1.19.0" [dependencies.ring] version = "0.17.8" [dependencies.serde] version = "1.0.204" features = ["derive"] [dependencies.toml] version = "0.8.16" [dependencies.ureq] version = "2.10.0" features = [ "tls", "native-certs", ] default-features = false [dependencies.yansi] version = "1.0.1" [dependencies.zip] version = "2.1.5" features = ["deflate"] default-features = false [dev-dependencies.assert_cmd] version = "2.0.15" [features] default = ["socks-proxy"] socks-proxy = ["ureq/socks-proxy"] [lints.clippy] all = "warn" pedantic = "warn" style = "warn" [lints.clippy.module_name_repetitions] level = "allow" priority = 1 [lints.clippy.struct_excessive_bools] level = "allow" priority = 1