Skip to content

Conversation

@tgross35
Copy link
Contributor

Upgrade rand, tiny_http, env_logger, and brotli to the latest across breaking versions.

Based on top of #298 so there is less to do.

tgross35 added 11 commits June 17, 2025 18:09
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 }
Copy link

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"
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants