[package]
edition = "2024"
name = "gitcalver"
version = "0.20261120.1"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Deterministic version numbers from git history"
homepage = "https://gitcalver.org"
documentation = "https://docs.rs/gitcalver"
readme = "README.md"
license = "MIT"
repository = "https://github.com/gitcalver/rust"
[lib]
name = "gitcalver"
path = "src/lib.rs"
[[bin]]
name = "gitcalver"
path = "src/main.rs"
[[test]]
name = "environment"
path = "tests/environment.rs"
[dependencies.gix]
version = "0.90"
features = [
"status",
"revision",
"sha1",
"sha256",
]
default-features = false
[dependencies.thiserror]
version = "2"
[dependencies.time]
version = "0.3"
[dependencies.toml_edit]
version = "0.25"
[dev-dependencies.tempfile]
version = "=3.27.0"
[lints.clippy]
cargo_common_metadata = "allow"
multiple_crate_versions = "allow"
option_if_let_else = "allow"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.cargo]
level = "deny"
priority = -1
[lints.clippy.nursery]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.rust]
unsafe_code = "forbid"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(coverage_nightly)"]