42 lines
1001 B
TOML
42 lines
1001 B
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
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
name = "nss_malcontent"
|
|
|
|
[build-dependencies]
|
|
bindgen = "0.60"
|
|
|
|
[dev-dependencies]
|
|
futures-util = "0.3"
|
|
rusty-hook = "0.11"
|
|
rusty-forkfork = "0.4"
|
|
test-cdylib = "1.1"
|
|
tokio = { version = "1", features = ["rt", "sync", "macros", "time"] }
|
|
|
|
[dependencies]
|
|
anyhow = "1.0"
|
|
const_format = "0.2"
|
|
libc = "0.2"
|
|
once_cell = "1.13"
|
|
log = "0.4"
|
|
nix = { version = "0.25", features = ["socket", "user", "sched"] }
|
|
tokio = { version = "1", features = ["rt"] }
|
|
trust-dns-resolver = "0.21"
|
|
trust-dns-proto = "0.21"
|
|
zbus = { version = "3.0", default-features = false, features = ["tokio"] }
|