freedit-org / freedit

The safest and lightest forum, powered by rust.
https://freedit.eu
MIT License
209 stars 22 forks source link

Bump axum from 0.6.0-rc.4 to 0.6.0-rc.5 #46

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps axum from 0.6.0-rc.4 to 0.6.0-rc.5.

Release notes

Sourced from axum's releases.

axum - v0.6.0-rc.5

  • breaking: Router::with_state is no longer a constructor. It is instead used to convert the router into a RouterService (#1532)

    This nested router on 0.6.0-rc.4

    Router::with_state(state).route(...);
    

    Becomes this in 0.6.0-rc.5

    Router::new().route(...).with_state(state);
    
  • breaking:: Router::inherit_state has been removed. Use Router::with_state instead (#1532)

  • breaking:: Router::nest and Router::merge now only supports nesting routers that use the same state type as the router they're being merged into. Use FromRef for substates (#1532)

  • added: Add accept_unmasked_frames setting in WebSocketUpgrade (#1529)

  • fixed: Nested routers will now inherit fallbacks from outer routers (#1521)

  • added: Add WebSocketUpgrade::on_failed_upgrade to customize what to do when upgrading a connection fails (#1539)

#1521: tokio-rs/axum#1521 #1529: tokio-rs/axum#1529 #1532: tokio-rs/axum#1532 #1539: tokio-rs/axum#1539

Commits
  • 878ae73 New release candidates (#1541)
  • 4689853 Add example of how to test WebSockets (#1535)
  • 7d58d49 Add #[from_ref(skip)] (#1537)
  • 64960bb Type safe state inheritance (#1532)
  • ba8e9c1 Add on_failed_upgrade callback to WebSocketUpgrade (#1539)
  • 7090649 Add fallback inheritance for nested routers (#1521)
  • 2e8a7e5 Fix Handler::with_state not working if request body was changed via layer (...
  • b1f894a Fix unused import if compiling with default features
  • c461f1d Add accept_unmasked_frames setting in WebSocketUpgrade (#1529)
  • 5874359 Add more tests for the Allow header when returning 405 (#1526)
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 1 year ago

Looks like axum is up-to-date now, so this is no longer needed.