9803712ab8
In https://cl.tvl.fyi/c/depot/+/12389 I accidentally deleted some comments. Also fixed some useless no-default-features with futures crate, making it match the previous feature combination. Change-Id: I72bb2cfb88719ff2f8812d90193de2bd49149cce Reviewed-on: https://cl.tvl.fyi/c/depot/+/12395 Autosubmit: Ilan Joselevich <personal@ilanjoselevich.com> Reviewed-by: flokli <flokli@flokli.de> Tested-by: BuildkiteCI
59 lines
1.7 KiB
TOML
59 lines
1.7 KiB
TOML
[package]
|
|
name = "nix-compat"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[features]
|
|
# async NAR writer. Also needs the `wire` feature.
|
|
async = ["tokio"]
|
|
# code emitting low-level packets used in the daemon protocol.
|
|
wire = ["tokio", "pin-project-lite", "bytes"]
|
|
test = []
|
|
|
|
# Enable all features by default.
|
|
default = ["async", "wire", "nix-compat-derive"]
|
|
|
|
[dependencies]
|
|
bitflags = { workspace = true }
|
|
bstr = { workspace = true, features = ["alloc", "unicode", "serde"] }
|
|
data-encoding = { workspace = true }
|
|
ed25519 = { workspace = true }
|
|
ed25519-dalek = { workspace = true }
|
|
enum-primitive-derive = { workspace = true }
|
|
glob = { workspace = true }
|
|
mimalloc = { workspace = true }
|
|
nom = { workspace = true }
|
|
num-traits = { workspace = true }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json = { workspace = true }
|
|
sha2 = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
tracing = { workspace = true }
|
|
bytes = { workspace = true, optional = true }
|
|
tokio = { workspace = true, features = ["io-util", "macros"], optional = true }
|
|
pin-project-lite = { workspace = true, optional = true }
|
|
|
|
[dependencies.nix-compat-derive]
|
|
path = "../nix-compat-derive"
|
|
optional = true
|
|
|
|
[dev-dependencies]
|
|
criterion = { workspace = true, features = ["html_reports"] }
|
|
futures = { workspace = true }
|
|
hex-literal = { workspace = true }
|
|
lazy_static = { workspace = true }
|
|
mimalloc = { workspace = true }
|
|
pretty_assertions = { workspace = true }
|
|
rstest = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
smol_str = { workspace = true }
|
|
tokio-test = { workspace = true }
|
|
zstd = { workspace = true }
|
|
|
|
[[bench]]
|
|
name = "derivation_parse_aterm"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "narinfo_parse"
|
|
harness = false
|