Skip to content

deps(deps): bump axum-server from 0.8.0 to 0.9.2 - #291

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

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

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps axum-server from 0.8.0 to 0.9.2.

Release notes

Sourced from axum-server's releases.

v0.9.2

  • added: the tls-rustls-ring feature, which uses the ring provider instead of aws-lc-rs. If both provider features are enabled, aws-lc-rs is used.
  • removed: the tls-rustls-acme feature and acme module introduced in 0.9.1. 0.9.1 is yanked.

v0.9.1

This release is yanked on crates.io. The tls-rustls-acme feature and acme module were removed in 0.9.2.

  • added: ConnectionShutdown is added to the extensions of every request and closes the connection that dispatched it, either immediately or after the in-flight response.
  • added: Control, an address-agnostic handle that shares shutdown and connection counting across servers listening on different address types. Build a per-listener Handle with Handle::with_control.
  • added: an async_sni example that implements Accept with LazyConfigAcceptor to resolve TLS certificates asynchronously from the ClientHello.
  • added: the optional tls-rustls-acme feature and acme module, which acquire and renew certificates automatically through rustls-acme (TLS-ALPN-01, for example Let's Encrypt), plus an acme example.

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.2 (11. November 2026)

  • added: the tls-rustls-ring feature, which uses the ring provider instead of aws-lc-rs. If both provider features are enabled, aws-lc-rs is used.
  • removed: the tls-rustls-acme feature and acme module introduced in 0.9.1. 0.9.1 is yanked.

0.9.1 (10. November 2026) [yanked]

  • added: ConnectionShutdown is added to the extensions of every request and closes the connection that dispatched it, either immediately or after the in-flight response.
  • added: Control, an address-agnostic handle that shares shutdown and connection counting across servers listening on different address types. Build a per-listener Handle with Handle::with_control.
  • added: an async_sni example that implements Accept with LazyConfigAcceptor to resolve TLS certificates asynchronously from the ClientHello.
  • added: the optional tls-rustls-acme feature and acme module, which acquire and renew certificates automatically through rustls-acme (TLS-ALPN-01, for example Let's Encrypt), plus an acme example.

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
  • ad890d8 Merge pull request #208 from programatik29/release/0.9.2
  • 679079f Version 0.9.2
  • cdc4446 Merge pull request #207 from programatik29/feature/tls-rustls-ring
  • b2e15de docs: clarify aws-lc-rs precedence wording
  • d095ab3 refactor(tls-rustls): select provider without installing a default
  • 0fc3f06 feat(tls-rustls): add ring provider feature
  • f37187e Merge pull request #206 from programatik29/release/0.9.1
  • 1654561 Version 0.9.1
  • 382fbad Merge pull request #205 from programatik29/feature/acme
  • 95402f3 feat(acme): add automatic certificates through rustls-acme
  • 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.2.
- [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.2)

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

Signed-off-by: dependabot[bot] <support@github.com>

This branch has not been deployed

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants