2022-08-13 10:44:46 +02:00
|
|
|
# SPDX-FileCopyrightText: 2022 Matteo Settenvini <matteo.settenvini@montecristosoftware.eu>
|
|
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
|
2022-08-13 10:32:40 +02:00
|
|
|
[package]
|
|
|
|
name = "malcontent-nss"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
authors = ["Matteo Settenvini <matteo.settenvini@montecristosoftware.eu"]
|
2022-08-13 10:44:46 +02:00
|
|
|
license = "GPL-3.0-or-later"
|
2022-08-13 10:32:40 +02:00
|
|
|
|
2022-08-22 23:12:34 +02:00
|
|
|
[profile.release]
|
|
|
|
strip = true
|
|
|
|
lto = true
|
|
|
|
codegen-units = 1
|
2022-08-23 11:07:17 +02:00
|
|
|
panic = "unwind" # We rely on this
|
2022-08-22 23:12:34 +02:00
|
|
|
|
2022-08-13 10:32:40 +02:00
|
|
|
[lib]
|
|
|
|
crate-type = ["cdylib"]
|
2022-08-13 17:04:22 +02:00
|
|
|
name = "nss_malcontent"
|
2022-08-13 10:32:40 +02:00
|
|
|
|
2022-08-25 01:00:18 +02:00
|
|
|
[features]
|
|
|
|
integration_test = ["dep:zbus_names"]
|
|
|
|
|
2022-08-18 13:59:11 +02:00
|
|
|
[build-dependencies]
|
|
|
|
bindgen = "0.60"
|
|
|
|
|
|
|
|
[dev-dependencies]
|
2022-08-25 01:00:18 +02:00
|
|
|
malcontent-nss = { path = ".", features = ["integration_test"] }
|
2022-09-05 23:15:29 +02:00
|
|
|
env_logger = "0.9"
|
2022-08-18 13:59:11 +02:00
|
|
|
futures-util = "0.3"
|
|
|
|
rusty-hook = "0.11"
|
2022-08-21 14:47:37 +02:00
|
|
|
rusty-forkfork = "0.4"
|
2022-08-18 13:59:11 +02:00
|
|
|
test-cdylib = "1.1"
|
|
|
|
tokio = { version = "1", features = ["rt", "sync", "macros", "time"] }
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
anyhow = "1.0"
|
2022-08-24 14:46:14 +02:00
|
|
|
gethostname = "0.2"
|
2022-08-18 13:59:11 +02:00
|
|
|
libc = "0.2"
|
|
|
|
once_cell = "1.13"
|
|
|
|
log = "0.4"
|
2022-08-24 12:51:16 +02:00
|
|
|
nix = { version = "0.24", features = ["socket", "user", "sched"] }
|
2022-08-24 14:46:14 +02:00
|
|
|
serde = "1.0"
|
2022-08-18 13:59:11 +02:00
|
|
|
tokio = { version = "1", features = ["rt"] }
|
2022-08-24 14:46:14 +02:00
|
|
|
trust-dns-resolver = { version = "0.21", features = ["dns-over-rustls"] }
|
2022-08-22 23:12:34 +02:00
|
|
|
trust-dns-proto = "0.21"
|
2022-08-21 14:47:37 +02:00
|
|
|
zbus = { version = "3.0", default-features = false, features = ["tokio"] }
|
2022-08-25 01:00:18 +02:00
|
|
|
zvariant = "3.6"
|
|
|
|
zbus_names = { version = "2.2", optional = true }
|