[package]
name = "upstream-ontologist"
version = "0.3.23"
authors = ["Jelmer Vernooĳ <jelmer@jelmer.uk>"]
edition = "2021"
license = "GPL-2.0+"
description = "tracking of upstream project metadata"
repository = "https://github.com/jelmer/upstream-ontologist.git"
homepage = "https://github.com/jelmer/upstream-ontologist"
default-run = "guess-upstream-metadata"
include = [
	"testdata",
	"readme_tests",
	"man",
	"build.rs",
	"src/*.rs",
	"README.md",
	"src/**/*.rs",
]

[dependencies]
log = ">=0.4.21, <0.5"
shlex = ">=1.0, <3"
serde_json = ">=1.0.117, <2"
lazy_static = ">=1.4, <2"
regex = ">=1.11, <2"
url = { version = ">=2.5.7, <3", features = ["serde"] }
xmltree = ">=0.10.3, <0.13"
configparser = ">=3.0, <4"
serde_norway = ">=0.9.35, <0.10"
percent-encoding = ">=2.3.2, <3"
html5ever = ">=0.26, <0.40"
chrono = ">=0.4.41, <0.5"
textwrap = ">=0.16.2, <0.17"
lazy-regex = ">=3.4, <4"
breezyshim = { version = ">=0.7.13, <0.8", default-features = false, optional = true }
debian-watch = { version = ">=0.4, <0.5", optional = true }
debian-changelog = { version = ">=0.2.1, <0.3", optional = true }
debbugs = { version = ">=0.1.1, <0.2", default-features = false, features = [
	"tokio",
	"mailparse",
] }
clap = { version = ">=4.5, <5", features = [
	"derive",
	"env",
], optional = true }
maplit = ">=1.0.2, <2"
env_logger = { version = ">=0.11, <0.12", optional = true }
makefile-lossless = { version = ">=0.2, <0.4", optional = true }
debian-copyright = { version = ">=0.1.34, <0.2", optional = true }
debian-control = { version = ">=0.1.39, <0.4", optional = true }
pulldown-cmark = ">=0.13.0, <0.14"
debcargo = { version = ">=2.5, <3", optional = true }
rst_parser = ">=0.4.2, <0.5"
rst_renderer = ">=0.4.2, <0.5"
select = ">=0.6.0, <0.7"
tendril = ">=0.4.2, <0.6"
bit-vec = ">=0.6.3, <0.11"
bit-set = ">=0.5.3, <0.12"
semver = { version = ">=1.0.3, <2", features = ["serde"] }
async-trait = ">=0.1, <0.2"
tokio = { version = ">=1.13, <2", features = ["full"] }
futures = ">=0.3.11, <0.4"
debversion = { version = ">=0.4.7, <0.6", optional = true }
base64 = ">=0.22, <0.23"

[features]
default = [
	"git-config",
	"launchpad",
	"opam",
	"dist-ini",
	"cargo",
	"r-description",
	"pyproject-toml",
	"python-pkginfo",
	"debian",
	"pyo3",
	"setup-cfg",
	"breezy",
]
breezy = ["dep:breezyshim"]
git-config = ["dep:gix-config"]
launchpad = ["dep:distro-info"]
opam = ["dep:opam-file-rs"]
dist-ini = ["dep:rust-ini"]
cargo = ["dep:cargo_toml"]
r-description = ["dep:r-description"]
pyproject-toml = ["dep:pyproject-toml", "dep:toml"]
python-pkginfo = ["dep:python-pkginfo"]
setup-cfg = ["dep:rust-ini"]
debcargo = ["dep:debcargo"]
debian = [
	"dep:debian-watch",
	"dep:makefile-lossless",
	"dep:debian-changelog",
	"dep:debian-control",
	"dep:debian-copyright",
	"dep:debversion",
]
pyo3 = ["dep:pyo3"]
cli = ["dep:clap", "dep:env_logger"]
debversion = ["dep:debversion"]

[lib]

[dev-dependencies]
pretty_assertions = ">=1.0, <2"
tempfile = ">=3.24, <4"

[build-dependencies]
quote = ">=1.0.41, <2"

[dependencies.pyo3]
version = ">=0.27.0, <0.30"
optional = true

[dependencies.reqwest]
version = ">=0.12, <0.14"
features = ["json"]
default-features = false

[dependencies.rust-ini]
version = ">=0.21, <0.22"
optional = true

[dependencies.serde]
version = ">=1.0.221, <2"
features = ["derive"]

[dependencies.opam-file-rs]
version = ">=0.1.1, <0.2"
optional = true

[dependencies.gix-config]
version = ">=0.54.0, <0.59"
features = ["sha1"]
optional = true

[dependencies.distro-info]
version = ">=0.4, <0.5"
optional = true

[dependencies.cargo_toml]
version = ">=0.22.0, <1.1"
optional = true

[dependencies.toml]
version = ">=0.9.0, <2"
optional = true

[dependencies.r-description]
version = ">=0.4, <0.5"
optional = true

[dependencies.pyproject-toml]
version = ">=0.13.3, <0.14"
optional = true

[dependencies.python-pkginfo]
version = ">=0.6, <0.7"
optional = true

[[bin]]
name = "autodoap"
required-features = ["cli"]

[[bin]]
name = "autocodemeta"
required-features = ["cli"]

[[bin]]
name = "guess-upstream-metadata"
required-features = ["cli"]
