# 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.85"
name = "tealdeer"
version = "1.8.1"
authors = [
    "Danilo Bargen <mail@dbrgn.ch>",
    "Niklas Mohrin <dev@niklasmohrin.de>",
]
build = false
include = [
    "/src/**/*",
    "/tests/**/*",
    "/Cargo.toml",
    "/README.md",
    "/LICENSE-*",
    "/screenshot.png",
    "completion/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fetch and show tldr help pages for many CLI commands. Full featured offline client with caching support."
homepage = "https://github.com/tealdeer-rs/tealdeer/"
documentation = "https://tealdeer-rs.github.io/tealdeer/"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/tealdeer-rs/tealdeer/"

[features]
default = [
    "rustls-with-webpki-roots",
    "rustls-with-native-roots",
]
ignore-online-tests = []
logging = ["env_logger"]
native-tls = [
    "ureq/native-tls",
    "ureq/platform-verifier",
]
rustls-with-native-roots = [
    "ureq/rustls",
    "ureq/platform-verifier",
]
rustls-with-webpki-roots = ["ureq/rustls"]

[[bin]]
name = "tldr"
path = "src/main.rs"

[[test]]
name = "lib"
path = "tests/lib.rs"

[dependencies.anyhow]
version = "1"

[dependencies.app_dirs]
version = "2"
package = "app_dirs2"

[dependencies.clap]
version = "4"
features = [
    "std",
    "derive",
    "help",
    "usage",
    "cargo",
    "error-context",
    "color",
    "wrap_help",
]
default-features = false

[dependencies.env_logger]
version = "0.11"
optional = true

[dependencies.log]
version = "0.4"

[dependencies.serde]
version = "1.0.21"

[dependencies.serde_derive]
version = "1.0.21"

[dependencies.toml]
version = "0.8.19"

[dependencies.ureq]
version = "3.0.8"
features = [
    "gzip",
    "socks-proxy",
]
default-features = false

[dependencies.yansi]
version = "1"

[dependencies.zip]
version = "5.1.1"
features = ["deflate"]
default-features = false

[dev-dependencies.assert_cmd]
version = "2.0.1"

[dev-dependencies.escargot]
version = "0.5"

[dev-dependencies.filetime]
version = "0.2.10"

[dev-dependencies.predicates]
version = "3.1.2"

[dev-dependencies.tempfile]
version = "3.1.0"

[target."cfg(not(windows))".dependencies.pager]
version = "0.16"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true
