-
Notifications
You must be signed in to change notification settings - Fork 451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix cyclical dependencies #935
Conversation
@@ -53,7 +53,7 @@ serde_test = "1.0.1" | |||
|
|||
[dev-dependencies.rusoto_dynamodb] | |||
path = "../services/dynamodb" | |||
version = "0.30" | |||
version = ">= 0.30, < 1.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Part one of the magic and one line to actually keep.
rusoto/services/dynamodb/Cargo.toml
Outdated
@@ -19,7 +19,7 @@ serde_derive = "1.0.2" | |||
serde_json = "1.0.1" | |||
|
|||
[dependencies.rusoto_core] | |||
version = "0.31.0" | |||
version = ">= 0.31" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Part two of the magic and another line to actually keep.
(Edit: this actually needs to go in service.rs
in the service_crategen
folder)
I've labelled the lines that are relevant to the fix. The other version changes were to demonstrate the fix works: $ cargo publish --dry-run
Updating registry `https://github.com/rust-lang/crates.io-index`
...
Finished dev [unoptimized + debuginfo] target(s) in 66.41 secs
Uploading rusoto_core v0.31.1 (file:///Users/matthew/Documents/rusoto/rusoto/core)
warning: aborting upload due to dry run |
#936 is the way to do this. 👍 |
Demonstrate a fix for #934 .Workaround suggested in rust-lang/cargo#4242 .