[package]
edition = "2024"
rust-version = "1.85"
name = "tiny-update-check"
version = "0.1.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]
default = ["native-tls"]
native-tls = ["ureq/native-tls"]
rustls = ["ureq/rustls"]
[lib]
name = "tiny_update_check"
path = "src/lib.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[bench]]
name = "benchmark"
path = "benches/benchmark.rs"
[dependencies.dirs]
version = "6"
[dependencies.semver]
version = "1"
[dependencies.ureq]
version = "3"
default-features = false
[dev-dependencies]
[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