[package]
name = "debian-analyzer"
version = "0.160.14"
authors = [ "Jelmer Vernooij <jelmer@jelmer.uk>"]
edition = "2021"
license = "GPL-2.0+"
description = "Debian analyzer"
repository = "https://github.com/jelmer/debian-analyzer"
homepage = "https://github.com/jelmer/debian-analyzer"
documentation = "https://docs.rs/debian-analyzer"

[dependencies]
pyo3 = { version = ">=0.27, <0.29", features = ["serde", "chrono"] }
debversion = { version = ">=0.5.0, <0.6", features = ["serde", "python-debian"] }
log = "0.4.18"
lazy-regex = "3.4"
serde = { version = "1.0.145", features = ["derive"] }
breezyshim = { version = ">=0.7.1, <0.8", features = ["debian", "dirty-tracker"] }
configparser = "3"
clap = { version = "4,<5", features = ["derive", "env", "suggestions", "cargo", "string"], optional = true }
env_logger = { version = ">=0.10, <0.12", optional = true }
serde_json = "1.0.85"
chrono = { version = "0.4.42", features = ["serde"] }
distro-info = { version = ">=0.4.0, <0.5" }
url = "2.4"
tempfile = "3.20"
maplit = "1.0.2"
lazy_static = "1.5"
debian-changelog = "0.2.10"
debian-control = ">=0.2.8, <0.4"
debian-copyright = ">=0.1.29, <0.2"
makefile-lossless = ">=0.3.17, <0.4"
patchkit = ">=0.2.2, <0.3"
dep3 = { version = ">=0.2.0, <0.3", features = ["lossless"] }
reqwest = { version = ">=0.12.10, <0.14", features = ["blocking", "json"] }
merge3 = { version = "0.2", optional = true }
difflib = "0.4.0"
deb822-lossless = ">=0.5.0, <0.6"
toml_edit = ">=0.23, <0.26"
semver = "1"
sqlx = { version = ">=0.8, <0.9", optional = true, features = ["postgres"] }
filetime = "0.2.10"
sha1 = "0.10.6"
hex = "0.4.3"
svp-client = { version = "0.2.0", optional = true }
regex = "1.12.2"

[features]
svp = ["dep:svp-client"]
default = ["python", "merge3"]
python = []
cli = ["dep:clap", "dep:env_logger"]
merge3 = ["dep:merge3"]
udd = ["dep:sqlx"]

[lib]

[[bin]]
name = "detect-changelog-behaviour"
path = "src/bin/detect-changelog-behaviour.rs"
required-features = ["cli"]

[[bin]]
name = "deb-vcs-publish"
path = "src/bin/deb-vcs-publish.rs"
required-features = ["cli"]

[build-dependencies]
quote = "1.0.40"
serde_json = "1.0.85"

[dev-dependencies]
serial_test = ">=3, <4"
