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 committed Mar 22, 2023
1 parent ecbc614 commit 61d0f9c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 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 @@ -19,7 +19,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]
# Disable default features to disable compatibility with the old `time` crate, and we also don't
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]
fixed = "1.23"
hex = { version = "0.4", features = ["serde"] } # ensure this remains compatible with the non-dev dependency
janus_core = { workspace = true, features = ["test-util"] }
janus_core = { path = ".", features = ["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

0 comments on commit 61d0f9c

Please sign in to comment.