diff options
author | Ilan Joselevich <personal@ilanjoselevich.com> | 2024-08-28T21·54+0300 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2024-08-29T14·37+0000 |
commit | 5a97888d8b9df1815cee3d577ea95a44f188434f (patch) | |
tree | bdda1eb049d9e8b607ba71bc9e7cb1e2e5dd769f /tvix/nix-compat | |
parent | 2945a359b46862b3da79dec37fa8ccb2f751fa8a (diff) |
chore(tvix): Migrate members to inherit deps from workspace r/8610
From now on we will add the dependencies and their version in the root Cargo.toml and in order to enable the dependency for a workspace member we set `workspace = true` in the member's Cargo.toml. Change-Id: I9738c1cf99810b7ace87ca712c3ea965ba846e25 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12389 Autosubmit: Ilan Joselevich <personal@ilanjoselevich.com> Tested-by: BuildkiteCI Reviewed-by: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix/nix-compat')
-rw-r--r-- | tvix/nix-compat/Cargo.toml | 68 |
1 files changed, 29 insertions, 39 deletions
diff --git a/tvix/nix-compat/Cargo.toml b/tvix/nix-compat/Cargo.toml index eff15f0f3bd3..ac56bb59cab2 100644 --- a/tvix/nix-compat/Cargo.toml +++ b/tvix/nix-compat/Cargo.toml @@ -14,51 +14,41 @@ test = [] default = ["async", "wire", "nix-compat-derive"] [dependencies] -bitflags = "2.6.0" -bstr = { version = "1.10.0", features = ["alloc", "unicode", "serde"] } -data-encoding = "2.6.0" -ed25519 = "2.2.3" -ed25519-dalek = "2.1.1" -enum-primitive-derive = "0.3.0" -glob = "0.3.1" -mimalloc = "0.1.43" -nom = "7.1.3" -num-traits = "0.2.19" -serde = { version = "1.0", features = ["derive"] } -serde_json = "1.0" -sha2 = "0.10.8" -thiserror = "1.0.63" -tracing = "0.1.40" - -[dependencies.bytes] -optional = true -version = "1.7.1" +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 -[dependencies.tokio] -optional = true -version = "1.39.3" -features = ["io-util", "macros"] - -[dependencies.pin-project-lite] -optional = true -version = "0.2.14" - [dev-dependencies] -criterion = { version = "0.5", features = ["html_reports"] } -futures = { version = "0.3.30", default-features = false, features = ["executor"] } -hex-literal = "0.4.1" -lazy_static = "1.5.0" -mimalloc = "0.1.43" -pretty_assertions = "1.4.0" -rstest = "0.19.0" -serde_json = "1.0" -smol_str = "0.2.2" -tokio-test = "0.4.4" -zstd = "^0.13.2" +criterion = { workspace = true, features = ["html_reports"] } +futures = { workspace = true, features = ["executor"] } +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" |