Part of #114 cargo fix wanted to rewrite `if let else` to match statements, but i reverted them as they dont belong in this cl. There weren't any warnings about locks (relative drop order changed in 2024) Change-Id: I9c851ef8e214a481cbe7b4cf9b2634b5d56970d4 Reviewed-on: https://cl.snix.dev/c/snix/+/30369 Autosubmit: Bence Nemes <nemes.bence1@gmail.com> Reviewed-by: Ilan Joselevich <personal@ilanjoselevich.com> Reviewed-by: Florian Klink <flokli@flokli.de> Tested-by: besadii
59 lines
1.6 KiB
TOML
59 lines
1.6 KiB
TOML
[package]
|
|
name = "snix-glue"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
async-compression = { workspace = true, features = [
|
|
"tokio",
|
|
"gzip",
|
|
"bzip2",
|
|
"xz",
|
|
] }
|
|
async-stream.workspace = true
|
|
bstr.workspace = true
|
|
bytes.workspace = true
|
|
data-encoding.workspace = true
|
|
futures.workspace = true
|
|
magic.workspace = true
|
|
nix-compat = { path = "../nix-compat", features = ["flakeref"] }
|
|
pin-project.workspace = true
|
|
reqwest = { workspace = true, features = ["rustls-tls-native-roots"] }
|
|
snix-build = { path = "../build", default-features = false, features = [] }
|
|
snix-eval = { path = "../eval" }
|
|
snix-castore = { path = "../castore" }
|
|
snix-store = { path = "../store", default-features = false, features = [] }
|
|
snix-tracing = { path = "../tracing" }
|
|
tracing.workspace = true
|
|
tracing-indicatif.workspace = true
|
|
tokio.workspace = true
|
|
tokio-tar.workspace = true
|
|
tokio-util = { workspace = true, features = ["io", "io-util", "compat"] }
|
|
thiserror.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
sha2.workspace = true
|
|
sha1.workspace = true
|
|
md-5.workspace = true
|
|
url.workspace = true
|
|
walkdir.workspace = true
|
|
clap.workspace = true
|
|
|
|
[dev-dependencies]
|
|
criterion = { workspace = true, features = ["html_reports"] }
|
|
hex-literal.workspace = true
|
|
mimalloc.workspace = true
|
|
nix = { workspace = true, features = ["fs"] }
|
|
pretty_assertions.workspace = true
|
|
rstest.workspace = true
|
|
tempfile.workspace = true
|
|
|
|
[features]
|
|
default = ["nix_tests"]
|
|
# Enables running the Nix language test suite from the original C++
|
|
# Nix implementation (at version 2.3) against Snix.
|
|
nix_tests = []
|
|
|
|
[[bench]]
|
|
name = "eval"
|
|
harness = false
|