Skip to content

Commit

Permalink
bump to 0.3.1 and work around cargo publish issue (#992)
Browse files Browse the repository at this point in the history
* 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]: rust-lang/cargo#4242
  • Loading branch information
tgeoghegan authored Feb 8, 2023
1 parent 2c4823e commit 0479800
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down
2 changes: 1 addition & 1 deletion collector/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion interop_binaries/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }

Expand Down

0 comments on commit 0479800

Please sign in to comment.