-
Notifications
You must be signed in to change notification settings - Fork 212
Upgrade rusoto (and tokio) #1264
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
Conversation
ac58356
to
932fb1b
Compare
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.
This has compile errors. Also tokio 0.2 is still in the dependency tree, I'd prefer not to update until that's fixed.
> cargo tree -i tokio:0.2.22
tokio v0.2.22
├── h2 v0.2.5
│ └── hyper v0.13.6
│ ├── hyper-tls v0.4.1
│ │ └── reqwest v0.10.10
│ │ └── rustwide v0.11.0
│ │ └── docs-rs v0.6.0 (/home/joshua/src/rust/docs.rs)
│ └── reqwest v0.10.10 (*)
├── hyper v0.13.6 (*)
├── hyper-tls v0.4.1 (*)
├── postgres v0.17.5
│ └── schemamama_postgres v0.3.0
│ └── docs-rs v0.6.0 (/home/joshua/src/rust/docs.rs)
├── reqwest v0.10.10 (*)
├── rustwide v0.11.0 (*)
├── tokio-postgres v0.5.5
│ └── postgres v0.17.5 (*)
├── tokio-tls v0.3.1
│ ├── hyper-tls v0.4.1 (*)
│ └── reqwest v0.10.10 (*)
└── tokio-util v0.3.1
├── h2 v0.2.5 (*)
└── tokio-postgres v0.5.5 (*)
@jyn514 are you sure you're on the right branch? I got rid of all the instances of tokio 0.2 in the dep tree I'm pretty sure, |
Oh hmm something is fishy then - cherry-picking your changes to Cargo.toml and running |
Huh, that's really strange. I just ran cargo update, I didn't do anything fancy. Do you want to try with the latest commit? I bumped rustwide in Cargo.toml, maybe that would have something to do with it |
|
Ok, I see - Can you separate the |
If you can post the output from |
5e62909
to
94daab5
Compare
I've separated the commits, I think the main one that was breaking things was |
Thanks. These were the versions changed:
and the number of duplicates went down from 23 to 16 which is definitely a step in the right direction :)
By the way, 0.13 -> 0.14 is not a minor version bump because it's before 1.0, it's a major bump (which is why you had to change Cargo.toml). |
Right, that's what I meant, semver incompatible I guess. |
Fixes #1102
The new rusoto version also updates tokio, so this is a WIP of upgrading that.
Currently waiting on rust-lang/rustwide#51