55 lines
1.3 KiB
TOML
55 lines
1.3 KiB
TOML
# SPDX-FileCopyrightText: 2022 Matteo Settenvini <matteo.settenvini@montecristosoftware.eu>
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
[package]
|
|
name = "malcontent-nss"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
authors = ["Matteo Settenvini <matteo.settenvini@montecristosoftware.eu"]
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[profile.release]
|
|
strip = true
|
|
lto = true
|
|
codegen-units = 1
|
|
panic = "unwind" # We rely on this
|
|
|
|
[features]
|
|
integration_test = ["dep:zbus_names"]
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
name = "nss_malcontent"
|
|
|
|
[dependencies]
|
|
anyhow = "1.0"
|
|
gethostname = "0.4"
|
|
libc = "0.2"
|
|
once_cell = "1.13"
|
|
ld_preload = "0.1"
|
|
log = "0.4"
|
|
nix = { version = "0.27", features = ["socket", "user", "net", "sched"] }
|
|
serde = "1.0"
|
|
syslog = "6.1"
|
|
tokio = { version = "1", features = ["rt"] }
|
|
hickory-resolver = { version = "0.24", features = ["dns-over-native-tls"] }
|
|
hickory-proto = "0.24"
|
|
zbus = { version = "3.0", default-features = false, features = ["tokio"] }
|
|
zvariant = "3.6"
|
|
zbus_names = { version = "2.2", optional = true }
|
|
|
|
[dev-dependencies]
|
|
elf = "0.7"
|
|
malcontent-nss = { path = ".", features = ["integration_test"] }
|
|
env_logger = "0.10"
|
|
event-listener = "4.0"
|
|
rusty-fork = "*"
|
|
futures-util = "0.3"
|
|
static_init = "1.0"
|
|
test-cdylib = "1.1"
|
|
tokio = { version = "1", features = ["rt", "sync", "macros", "net", "time"] }
|
|
tokio-util = { version = "0.7" }
|
|
|
|
[build-dependencies]
|
|
bindgen = "0.69"
|