systemd-resolved-rs 0.2.0

A compatibility-oriented reimplementation of systemd-resolved
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.74"
name = "systemd-resolved-rs"
version = "0.2.0"
build = "build.rs"
autobins = false
description = "A compatibility-oriented reimplementation of systemd-resolved"
readme = "README.md"
license = "LGPL-2.1-or-later"
repository = "https://github.com/SisyphusAeolides/systemd-resolved-rs"

[profile.release]
lto = "thin"
codegen-units = 1
panic = "abort"
strip = "symbols"

[lib]
name = "resolved"
path = "src/lib.rs"

[[bin]]
name = "systemd-resolved"
path = "src/main.rs"

[[bin]]
name = "resolvectl"
path = "src/bin/resolvectl.rs"

[dependencies.anyhow]
version = "1"

[dependencies.async-trait]
version = "0.1"

[dependencies.bincode]
version = "1"

[dependencies.bytes]
version = "1"

[dependencies.crossbeam-queue]
version = "0.3.13"

[dependencies.getrandom]
version = "=0.3.1"

[dependencies.idna]
version = "1"
optional = true

[dependencies.idna_adapter]
version = "=1.1.0"
optional = true

[dependencies.indexmap]
version = "=2.2.6"

[dependencies.memmap2]
version = "0.9"

[dependencies.parking_lot]
version = "0.12"

[dependencies.rand]
version = "0.9.5"

[dependencies.sd-notify]
version = "0.4"

[dependencies.seahash]
version = "4.1.0"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.sha1]
version = "0.10.7"

[dependencies.socket2]
version = "0.5"
features = ["all"]

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-util]
version = "0.7.19"
optional = true

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.zbus]
version = "=3.15.2"
features = ["async-io"]
default-features = false

[dev-dependencies.tempfile]
version = "=3.10.1"

[features]
beast-wire = []
dataplane = []
default = [
    "fortran-routing",
    "idna-name",
]
doq = []
formal-crosscheck = []
fortran-routing = []
hyper = ["dep:tokio-util"]
idna-name = [
    "dep:idna",
    "dep:idna_adapter",
]
kalman = []
mmap-nss = []
nsec-agg = []
obs = []
sigcache = []
supremacy = [
    "mmap-nss",
    "dataplane",
    "swr",
    "nsec-agg",
    "sigcache",
    "doq",
    "obs",
]
swr = []

[lints.clippy]
all = "warn"
pedantic = "warn"

[lints.rust]
unsafe_op_in_unsafe_fn = "deny"