tiny-update-check 1.0.0

A minimal, lightweight crate update checker for Rust CLI applications
Documentation
# 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 = "2024"
rust-version = "1.85"
name = "tiny-update-check"
version = "1.0.0"
authors = ["Tyler Butler <tyler@tylerbutler.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A minimal, lightweight crate update checker for Rust CLI applications"
homepage = "https://github.com/tylerbutler/tiny-update-check"
documentation = "https://docs.rs/tiny-update-check"
readme = "README.md"
keywords = [
    "cli",
    "update",
    "version",
    "crates-io",
    "notification",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tylerbutler/tiny-update-check"

[features]
async = ["reqwest"]
default = [
    "native-tls",
    "do-not-track",
]
do-not-track = []
native-tls = ["ureq/native-tls"]
rustls = ["ureq/rustls"]

[lib]
name = "tiny_update_check"
path = "src/lib.rs"

[[example]]
name = "size_check"
path = "examples/size_check.rs"

[[example]]
name = "size_check_rustls"
path = "examples/size_check_rustls.rs"

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

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

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

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

[[bench]]
name = "benchmark"
path = "benches/benchmark.rs"

[dependencies.dirs]
version = "6"

[dependencies.reqwest]
version = "0.12"
features = ["rustls-tls"]
optional = true
default-features = false

[dependencies.semver]
version = "1"

[dependencies.ureq]
version = "3"
default-features = false

[dev-dependencies.temp-env]
version = "0.3"

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
]

[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "forbid"

[profile.dist]
lto = "thin"
inherits = "release"

[profile.profiling]
debug = 2
inherits = "release"

[profile.release]
lto = true
codegen-units = 1
panic = "abort"
strip = true