From 047980028621162ada22d8c4179ae0b7d6db3d43 Mon Sep 17 00:00:00 2001 From: Tim Geoghegan Date: Wed, 8 Feb 2023 14:22:42 -0800 Subject: [PATCH] bump to 0.3.1 and work around cargo publish issue (#992) * bump crate versions to 0.3.1 * workaround for cargo dev-dependencies problem To work around a known issue with `cargo publish` ([1}), update all self-dependencies under dev-dependencies to use `path = "."` instead of a versioned crate, as `publish` insists on fetching from crates.io, despite a correctly versioned crate being available locally. [1]: https://github.com/rust-lang/cargo/issues/4242 --- Cargo.lock | 16 ++++++++-------- Cargo.toml | 2 +- collector/Cargo.toml | 2 +- core/Cargo.toml | 2 +- interop_binaries/Cargo.toml | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d671bdd15..7ae9beef7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1565,7 +1565,7 @@ checksum = "fad582f4b9e86b6caa621cabeb0963332d92eea04729ab12892c2533951e6440" [[package]] name = "janus_aggregator" -version = "0.3.0" +version = "0.3.1" dependencies = [ "anyhow", "assert_matches", @@ -1632,14 +1632,14 @@ dependencies = [ [[package]] name = "janus_build_script_utils" -version = "0.3.0" +version = "0.3.1" dependencies = [ "zstd", ] [[package]] name = "janus_client" -version = "0.3.0" +version = "0.3.1" dependencies = [ "assert_matches", "backoff", @@ -1662,7 +1662,7 @@ dependencies = [ [[package]] name = "janus_collector" -version = "0.3.0" +version = "0.3.1" dependencies = [ "anyhow", "assert_matches", @@ -1692,7 +1692,7 @@ dependencies = [ [[package]] name = "janus_core" -version = "0.3.0" +version = "0.3.1" dependencies = [ "assert_matches", "backoff", @@ -1728,7 +1728,7 @@ dependencies = [ [[package]] name = "janus_integration_tests" -version = "0.3.0" +version = "0.3.1" dependencies = [ "anyhow", "backoff", @@ -1759,7 +1759,7 @@ dependencies = [ [[package]] name = "janus_interop_binaries" -version = "0.3.0" +version = "0.3.1" dependencies = [ "anyhow", "backoff", @@ -1797,7 +1797,7 @@ dependencies = [ [[package]] name = "janus_messages" -version = "0.3.0" +version = "0.3.1" dependencies = [ "anyhow", "assert_matches", diff --git a/Cargo.toml b/Cargo.toml index 5689b63f4..09dca4379 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ homepage = "https://divviup.org" license = "MPL-2.0" repository = "https://github.com/divviup/janus" rust-version = "1.65.0" -version = "0.3.0" +version = "0.3.1" [workspace.dependencies] janus_aggregator = { version = "0.3", path = "aggregator" } diff --git a/collector/Cargo.toml b/collector/Cargo.toml index c931d019e..31d3faef9 100644 --- a/collector/Cargo.toml +++ b/collector/Cargo.toml @@ -39,7 +39,7 @@ assert_matches = "1" base64 = "0.21.0" chrono = "0.4" clap = { version = "4.1.4", features = ["derive", "env"] } -janus_collector = { workspace = true, features = ["fpvec_bounded_l2", "test-util"] } +janus_collector = { path = ".", features = ["fpvec_bounded_l2", "test-util"] } janus_core = { workspace = true, features = ["fpvec_bounded_l2", "test-util"] } mockito = "0.31.1" rand = "0.8" diff --git a/core/Cargo.toml b/core/Cargo.toml index 75e8ebea9..e35fbc9ff 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -61,7 +61,7 @@ tracing-subscriber = { version = "0.3", features = ["std", "env-filter", "fmt"], [dev-dependencies] hex = { version = "0.4", features = ["serde"] } # ensure this remains compatible with the non-dev dependency -janus_core = { workspace = true, features = ["fpvec_bounded_l2", "test-util"] } +janus_core = { path = ".", features = ["fpvec_bounded_l2", "test-util"] } # Enable `kube`'s `openssl-tls` feature (which takes precedence over the # `rustls-tls` feature when creating a default client) to work around rustls's # lack of support for connecting to servers by IP addresses, which affects many diff --git a/interop_binaries/Cargo.toml b/interop_binaries/Cargo.toml index 8299c42fd..3590370b9 100644 --- a/interop_binaries/Cargo.toml +++ b/interop_binaries/Cargo.toml @@ -55,7 +55,7 @@ warp = "0.3" zstd = { version = "0.12", optional = true } [dev-dependencies] -janus_interop_binaries = { workspace = true, features = ["fpvec_bounded_l2", "testcontainer", "test-util"] } +janus_interop_binaries = { path = ".", features = ["fpvec_bounded_l2", "testcontainer", "test-util"] } janus_core = { workspace = true, features = ["test-util", "fpvec_bounded_l2"] } reqwest = { version = "0.11.14", default-features = false, features = ["json"] }