Skip to content

Bump axum-server from 0.8.0 to 0.9.0 - #37

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/axum-server-0.9.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/axum-server-0.9.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 14, 2026

Copy link
Copy Markdown
Contributor

Bumps axum-server from 0.8.0 to 0.9.0.

Release notes

Sourced from axum-server's releases.

v0.9.0

  • added: Server::first_request_timeout, which closes connections that do not send a request in time. This also covers the protocol detection read that hyper does before any HTTP timeout applies.
  • added: Server::accept_error_handler, which reports connection accept errors instead of silently dropping them.
  • added: TLS acceptors now add axum_server::tls::TlsInfo (SNI, ALPN, and client certificates) to request extensions as Arc<TlsInfo> for both rustls and OpenSSL.
  • added: axum_server::accept::LocalAddrAcceptor adds the local socket address of the connection to request extensions as LocalAddr.
  • added: RustlsConfig::from_sni_pem_files, which selects the certificate using the server name sent by the client through SNI.
  • added: the tls-rustls-encrypted-keys feature and RustlsConfig::from_pem_with_password plus file and reload variants, for encrypted PKCS#8 private keys.
  • added: accept::TcpConfigAcceptor, accept::TcpSocketConfig, and accept::TcpKeepaliveConfig apply TCP_NODELAY and TCP keepalive settings to accepted connections.
  • added: a timeouts example showing the request, header, keep-alive, and TLS handshake timeouts.
  • added: a reverse_proxy example that terminates TLS and forwards requests to an HTTP upstream.
  • breaking: TLS acceptors now return a tls::TlsService wrapper service. Custom acceptors that wrap a TLS acceptor and assume the service type is unchanged need to be updated; examples/rustls_session.rs now uses the built-in TlsInfo.
  • fixed: Handle::listening() now returns None after a bind failure instead of waiting forever, and no longer races with server startup.
  • fixed: RustlsConfig::from_pem_chain_file now sets the h2 and http/1.1 ALPN protocols like the other RustlsConfig constructors.
  • fixed: Connections that are still performing the TLS handshake are now cancelled on shutdown instead of keeping a task and file descriptor alive until the handshake timeout.
  • fixed: A timer is now installed by default, so header_read_timeout and keep_alive_timeout no longer panic with "timeout set, but no timer set".
  • fixed: from_tcp and from_unix now put the provided listener into non-blocking mode, as required by Tokio. The from_std_listener examples work without extra setup.
  • fixed: Server::acceptor and Server::map now preserve the HTTP version selected by http1_only/http2_only.
  • changed: The tls-rustls feature now enables TLS 1.2, restoring the behavior from before 0.7.0.
  • changed: fs-err is now an optional dependency and is only pulled in by the rustls features.
Changelog

Sourced from axum-server's changelog.

0.9.0 (6. November 2026)

  • added: Server::first_request_timeout, which closes connections that do not send a request in time. This also covers the protocol detection read that hyper does before any HTTP timeout applies.
  • added: Server::accept_error_handler, which reports connection accept errors instead of silently dropping them.
  • added: TLS acceptors now add axum_server::tls::TlsInfo (SNI, ALPN, and client certificates) to request extensions as Arc<TlsInfo> for both rustls and OpenSSL.
  • added: axum_server::accept::LocalAddrAcceptor adds the local socket address of the connection to request extensions as LocalAddr.
  • added: RustlsConfig::from_sni_pem_files, which selects the certificate using the server name sent by the client through SNI.
  • added: the tls-rustls-encrypted-keys feature and RustlsConfig::from_pem_with_password plus file and reload variants, for encrypted PKCS#8 private keys.
  • added: accept::TcpConfigAcceptor, accept::TcpSocketConfig, and accept::TcpKeepaliveConfig apply TCP_NODELAY and TCP keepalive settings to accepted connections.
  • added: a timeouts example showing the request, header, keep-alive, and TLS handshake timeouts.
  • added: a reverse_proxy example that terminates TLS and forwards requests to an HTTP upstream.
  • breaking: TLS acceptors now return a tls::TlsService wrapper service. Custom acceptors that wrap a TLS acceptor and assume the service type is unchanged need to be updated; examples/rustls_session.rs now uses the built-in TlsInfo.
  • fixed: Handle::listening() now returns None after a bind failure instead of waiting forever, and no longer races with server startup.
  • fixed: RustlsConfig::from_pem_chain_file now sets the h2 and http/1.1 ALPN protocols like the other RustlsConfig constructors.
  • fixed: Connections that are still performing the TLS handshake are now cancelled on shutdown instead of keeping a task and file descriptor alive until the handshake timeout.
  • fixed: A timer is now installed by default, so header_read_timeout and keep_alive_timeout no longer panic with "timeout set, but no timer set".
  • fixed: from_tcp and from_unix now put the provided listener into non-blocking mode, as required by Tokio. The from_std_listener examples work without extra setup.
  • fixed: Server::acceptor and Server::map now preserve the HTTP version selected by http1_only/http2_only.
  • changed: The tls-rustls feature now enables TLS 1.2, restoring the behavior from before 0.7.0.
  • changed: fs-err is now an optional dependency and is only pulled in by the rustls features.
Commits
  • d456d10 Merge pull request #200 from programatik29/release/0.9.0
  • b66eddc Version 0.9.0
  • d5e59a9 Merge pull request #198 from programatik29/feature/tcp-socket-options
  • 5d15eb7 feat(accept): add TCP socket option acceptor
  • 66117ae Merge pull request #197 from programatik29/feature/tls-config-conveniences
  • 59b7814 feat(tls-rustls): add SNI certificate selection and encrypted keys
  • dc6c073 Merge pull request #196 from programatik29/feature/connection-info
  • bf02c3d feat(tls): expose TLS connection info and local address to handlers
  • 4a992c9 Merge pull request #195 from programatik29/feature/server-timeout-and-errors
  • cf74b72 feat(server): add first request timeout and accept error handler
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [axum-server](https://github.com/programatik29/axum-server) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/programatik29/axum-server/releases)
- [Changelog](https://github.com/programatik29/axum-server/blob/master/CHANGELOG.md)
- [Commits](programatik29/axum-server@v0.8.0...v0.9.0)

---
updated-dependencies:
- dependency-name: axum-server
  dependency-version: 0.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Nov 14, 2026
@fastrevmd-lab

Copy link
Copy Markdown
Member

Closing: mecfeedmcp pins mecmcp-transport v0.28.1, which still uses axum-server 0.8. Bumping only mecfeed-serve to 0.9 builds two axum-server versions, and CI fails. axum-server 0.9 arrives with the move to mecmcp ≥ v0.33.0 (mecmcp #611). rustpanosmcp #286 was closed for the same reason.

@fastrevmd-lab
fastrevmd-lab deleted the dependabot/cargo/axum-server-0.9.0 branch November 14, 2026 18:17
@dependabot @github

dependabot Bot commented on behalf of github Nov 14, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

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 rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant