-
Notifications
You must be signed in to change notification settings - Fork 112
Upgrade dependencies to the latest incompatible version #299
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
base: master
Are you sure you want to change the base?
Conversation
Perform a first pass to eliminate a large number of dependencies and features from `rouille-multipart` that are not needed for `rouille`. The `rouille-multipart` version is bumped here since this represents an API break.
Eliminate `extern crate` that isn't needed in the 2021 edition. Also use this as an opportunity to apply std-external-crate import sorting. Some of the fuzzers and binary files got reformatted here, but they still don't build correctly.
`memchr` is already in the tree via `serde_json` and `buffer-redux`.
Clippy is now a standalone tool so this isn't needed.
Perform the incompatible upgrade for both `rouille` and `rouille-multipart`. The MSRV is still 1.63. This eliminates one version of `rand` from the graph.
The same version is now used in both `rouille` and `rouille-multipart`.
Brotli's MSRV is still 1.59.0.
|
|
||
| # Only for Rocket example but dev-dependencies can't be optional | ||
| rocket = { version = "0.4", optional = true } | ||
| tiny_http = { version = "0.12", optional = true } |
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 resolves an indirect vulnerability identified by cargo-deny.
|
|
||
| [dev-dependencies] | ||
| env_logger = "0.5" | ||
| env_logger = "0.11" |
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 removes unsound behavior caused by an unmaintained dependency identified by cargo-deny.
Upgrade
rand,tiny_http,env_logger, andbrotlito the latest across breaking versions.Based on top of #298 so there is less to do.