From 1892c75f7df1ff74d2a78c752235df09b55ee472 Mon Sep 17 00:00:00 2001 From: Andrew Duffy Date: Fri, 9 Aug 2024 11:45:04 -0400 Subject: [PATCH] use path specifiers for workspace deps in dev-dependencies (#587) See https://github.com/MarcoIeni/release-plz/blob/main/crates/release_plz/Cargo.toml#L51-L53 for examples Main point: if you have dev-dependencies, then you are compiling this from a checkout, which means you don't need to resolve these from crates.io Our release automater, release-plz, doesn't order crates in dev-dependencies before release, and we can resolve from path instead for running benches --- encodings/zigzag/Cargo.toml | 2 +- vortex-serde/Cargo.toml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/encodings/zigzag/Cargo.toml b/encodings/zigzag/Cargo.toml index 1d3c6caf80..cb7ef59232 100644 --- a/encodings/zigzag/Cargo.toml +++ b/encodings/zigzag/Cargo.toml @@ -20,7 +20,7 @@ vortex-scalar = { workspace = true } zigzag = { workspace = true } [dev-dependencies] -vortex-fastlanes = { workspace = true } +vortex-fastlanes = { path = "../fastlanes" } [lints] workspace = true diff --git a/vortex-serde/Cargo.toml b/vortex-serde/Cargo.toml index f708ca502b..3a47a7e10d 100644 --- a/vortex-serde/Cargo.toml +++ b/vortex-serde/Cargo.toml @@ -41,9 +41,9 @@ futures-executor = { workspace = true } rand = { workspace = true } simplelog = { workspace = true } tokio = { workspace = true, features = ["full"] } -vortex-alp = { workspace = true } -vortex-fastlanes = { workspace = true } -vortex-sampling-compressor = { workspace = true } +vortex-alp = { path = "../encodings/alp" } +vortex-fastlanes = { path = "../encodings/fastlanes" } +vortex-sampling-compressor = { path = "../vortex-sampling-compressor" } [lints] workspace = true