agama/rust/agama-utils/Cargo.toml
Jorik Cronenberg 83d017e8ae
Make curl dependency for agama-network optional via feature
Due to a dependency chain agama-network pulls in curl via agama-network ->
agama-utils -> agama-transfer -> curl. With this comes a dependency on openssl
which unfortunately for wicked2nm is a problem, because it fails to build on
older SLE 15 SPs.
To circumvent this I added a default feature that excludes the affected parts
from agama-network so it doesn't depend on agama-transfer.
This should have no actual impact on agama itself.
2026-05-05 15:43:52 +02:00

44 lines
1.3 KiB
TOML

[package]
name = "agama-utils"
version = "0.1.0"
rust-version.workspace = true
edition.workspace = true
[features]
default = ["curl"]
curl = ["dep:agama-transfer"]
[dependencies]
agama-locale-data = { path = "../agama-locale-data" }
agama-transfer = { path = "../agama-transfer", optional = true }
anyhow = { version = "1.0.98" }
async-trait = "0.1.89"
camino = "1.2.1"
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.140"
serde_with = "3.14.0"
strum = { version = "0.27.2", features = ["derive"] }
thiserror = "2.0.16"
tokio = { version = "1.47.1", features = ["macros", "rt-multi-thread", "process", "sync", "time"] }
schemars = { version = "1.2.1", features = ["url2"] }
zbus = "5.7.1"
zvariant = "5.5.2"
gettext-rs = { version = "0.7.2", features = ["gettext-system"] }
regex = "1.12.2"
libsystemd = "0.7.2"
tracing = "0.1.44"
tracing-journald = "0.3.2"
tracing-subscriber = { version = "0.3.22", features = ["env-filter"] }
serde_yaml = "0.9.34"
uuid = { version = "1.10.0", features = ["v4"] }
cidr = { version = "0.3.1", features = ["serde"] }
macaddr = { version = "1.0.1", features = ["serde_std"] }
fs-err = "3.2.0"
fluent-uri = { version = "0.4.1", features = ["serde"] }
tempfile = "3.23.0"
merge = "0.2.0"
url = { version = "2.5.7", features = ["serde"] }
[dev-dependencies]
test-context = "0.4.1"
tokio-test = "0.4.4"