mirror of
https://github.com/tealdeer-rs/tealdeer.git
synced 2026-08-09 09:49:10 +02:00
68 lines
1.9 KiB
TOML
68 lines
1.9 KiB
TOML
[package]
|
|
authors = [
|
|
"Danilo Bargen <mail@dbrgn.ch>",
|
|
"Niklas Mohrin <dev@niklasmohrin.de>",
|
|
]
|
|
description = "Fetch and show tldr help pages for many CLI commands. Full featured offline client with caching support."
|
|
homepage = "https://github.com/dbrgn/tealdeer/"
|
|
license = "MIT OR Apache-2.0"
|
|
name = "tealdeer"
|
|
readme = "README.md"
|
|
repository = "https://github.com/dbrgn/tealdeer/"
|
|
documentation = "https://dbrgn.github.io/tealdeer/"
|
|
version = "1.6.1"
|
|
include = ["/src/**/*", "/tests/**/*", "/Cargo.toml", "/README.md", "/LICENSE-*", "/screenshot.png", "completion/*"]
|
|
rust-version = "1.64"
|
|
edition = "2021"
|
|
|
|
[[bin]]
|
|
name = "tldr"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
app_dirs = { version = "2", package = "app_dirs2" }
|
|
atty = "0.2"
|
|
clap = { version = "3", features = ["std", "derive", "suggestions", "color"], default-features = false }
|
|
env_logger = { version = "0.10", optional = true }
|
|
log = "0.4"
|
|
reqwest = { version = "0.11.3", features = ["blocking"], default-features = false }
|
|
serde = "1.0.21"
|
|
serde_derive = "1.0.21"
|
|
toml = "0.5.1"
|
|
walkdir = "2.0.1"
|
|
yansi = "0.5"
|
|
zip = { version = "0.6", default-features = false, features = ["deflate"] }
|
|
|
|
[target.'cfg(not(windows))'.dependencies]
|
|
pager = "0.16"
|
|
|
|
[dev-dependencies]
|
|
assert_cmd = "2.0.1"
|
|
escargot = "0.5"
|
|
predicates = "2.0.2"
|
|
tempfile = "3.1.0"
|
|
filetime = "0.2.10"
|
|
|
|
[features]
|
|
default = ["native-roots"]
|
|
logging = ["env_logger"]
|
|
|
|
# Reqwest (the HTTP client library) can handle TLS connections in three
|
|
# different modes:
|
|
#
|
|
# - Rustls with native roots
|
|
# - Rustls with WebPK roots
|
|
# - Native TLS (SChannel on Windows, Secure Transport on macOS and OpenSSL otherwise)
|
|
#
|
|
# Exactly one of the three variants must be selected. By default, Rustls with
|
|
# native roots is enabled.
|
|
native-roots = ["reqwest/rustls-tls-native-roots"]
|
|
webpki-roots = ["reqwest/rustls-tls-webpki-roots"]
|
|
native-tls = ["reqwest/native-tls"]
|
|
|
|
[profile.release]
|
|
strip = true
|
|
opt-level = 3
|
|
lto = true
|
|
codegen-units = 1
|