Skip to content
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

Update axum-extra requirement from 0.4.0 to 0.6.0 #34

Merged
merged 1 commit into from
Feb 28, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 28, 2023

Updates the requirements on axum-extra to permit the latest version.

Release notes

Sourced from axum-extra's releases.

axum-extra - v0.6.0

  • breaking: Change casing of ProtoBuf to Protobuf (#1595)

  • breaking: SpaRouter has been removed. Use ServeDir and ServeFile from tower-http instead:

    // before
    Router::new().merge(SpaRouter::new("/assets", "dist"));
    // with ServeDir
    Router::new().nest_service("/assets", ServeDir::new("dist"));
    // before with index_file
    Router::new().merge(SpaRouter::new("/assets", "dist").index_file("index.html"));
    // with ServeDir + ServeFile
    Router::new().nest_service(
    "/assets",
    ServeDir::new("dist").not_found_service(ServeFile::new("dist/index.html")),
    );

    See the [static-file-server-example] for more examples (#1784)

#1595: tokio-rs/axum#1595 #1784: tokio-rs/axum#1784 [static-file-server-example]: https://github.com/tokio-rs/axum/blob/main/examples/static-file-server/src/main.rs

Commits

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)

Updates the requirements on [axum-extra](https://github.com/tokio-rs/axum) to permit the latest version.
- [Release notes](https://github.com/tokio-rs/axum/releases)
- [Changelog](https://github.com/tokio-rs/axum/blob/main/CHANGELOG.md)
- [Commits](tokio-rs/axum@axum-extra-v0.4.0...axum-extra-v0.6.0)

---
updated-dependencies:
- dependency-name: axum-extra
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 28, 2023
@maxcountryman maxcountryman merged commit 0546463 into main Feb 28, 2023
@maxcountryman maxcountryman deleted the dependabot/cargo/axum-extra-0.6.0 branch February 28, 2023 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant