[package]
name = "util"
version = "0.1.0"
edition = "2021"
publish = false

[lib]
path = "src/util.rs"
doctest = true

[features]
test-support = ["tempdir", "git2"]

[dependencies]
anyhow.workspace = true
backtrace = "0.3"
log.workspace = true
lazy_static.workspace = true
futures.workspace = true
isahc = "1.7"
smol.workspace = true
url = "2.2"
rand.workspace = true
tempdir = { workspace = true, optional = true }
serde.workspace = true
serde_json.workspace = true
git2 = { version = "0.15", default-features = false, optional = true }
dirs = "3.0"

[dev-dependencies]
tempdir.workspace = true
git2 = { version = "0.15", default-features = false }
