NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io · #1564 most downloaded on crates.io
High level server designed to be used with axum framework.
Last release 10 months ago
06 Dec 2025
Release timing varies
gaps range from 2 weeks to 8 months
Most releases are documented
notes for 23 of 28 stable releases
3 versions withdrawn
withdrawn after publishing
5 years old
31 releases · first in 2021
One column per quarter.
changed : Server is now generic over connections, allowing axum-server to listen not just on TCP.
Server is now generic over connections, allowing axum-server to listen not just on TCP.rustls-pemfile was replaced with rustls-pki-types as it is now unmaintained.Server is now generic over connections, allowing axum-server to listen not just on TCP. Support for Unix sockets has been implemented and an example for Unix sockets has been provided.rustls-pemfile with rustls-pki-types as it is now unmaintained.fixed : axum-server not compiling in hyper 1.8.0 .
axum-server not compiling in hyper 1.8.0.changed : Use fs-err to augment errors loading pem files.
tower from 0.4 to 0.5.added : Crate feature tls-rustls-no-provider , which enables no rustls::CryptoProvider .
tls-rustls-no-provider, which enables no rustls::crypto::CryptoProvider.hyper-util to 0.1.2.fixed : Graceful shutdown now stops accepting requests from existing connections.
rustls from 0.21 to 0.23.tokio-rustls from 0.24 to 0.26.hyper from 1.0.1 to 1.4.http from 1.0.0 to 1.1.rustls-pki-types dependency for the tls-rustls feature.rustls::Certificate and rustls::PrivateKey with rustls_pki_types::CertificateDer and rustls_pki_types::PrivateKeyDer.ServerConfig initialization to remove with_safe_defaults() call.ClientConfig initialization in tests to use dangerous() instead of with_safe_defaults().ServerCertVerifier implementation in tests to match new rustls API.rustls-pemfile, serial_test, and tower-http.added : functionalities in tls_openssl , that were added as they appeared to be only in tls_rustls :
tls_openssl, that were added as they appeared to be only in tls_rustls:
axum_server::tls_openssl::OpenSSLConfig::from_acceptoraxum_server::tls_openssl::OpenSSLConfig::from_deraxum_server::tls_openssl::OpenSSLConfig::from_pemaxum_server::tls_openssl::OpenSSLConfig::get_inneraxum_server::tls_openssl::OpenSSLConfig::reload_from_deraxum_server::tls_openssl::OpenSSLConfig::reload_from_pemaxum_server::tls_openssl::OpenSSLConfig::reload_from_pem_fileaxum_server::tls_openssl::OpenSSLConfig::reload_from_pem_chain_filefrom_pem_chain_file method for RustlsConfig.HttpConfig and AddrIncomingConfig.axum from 0.6 to 0.7.hyper to 1.0.1.added: http2_enable_connect_protocol , http2_max_header_list_size , http2_max_pending_accept_reset_streams and http2_max_send_buf_size methods to Http
http2_enable_connect_protocol, http2_max_header_list_size,http2_max_pending_accept_reset_streams and http2_max_send_buf_sizeHttpConfig.breaking: Updated rustls from 0.20 to 0.21 which affects ServerConfig type.
rustls from 0.20 to 0.21 which affectsServerConfig type.tokio-rustls from 0.23 to 0.24 which affectsTlsStream type.added: Openssl is now supported.
Nothing published for this version
changed: Handle::graceful_shutdown now informs connections about the graceful shutdown.
Handle::graceful_shutdown now informs connections about the
graceful shutdown.Nothing published for this version
added: Added tcp_keepalive_interval and tcp_keepalive_retries to AddrIncomingConfig.
tcp_keepalive_interval and tcp_keepalive_retries to
AddrIncomingConfig.added: Added Server::from_tcp, axum_server::from_tcp and axum_server::from_tcp_rustls methods to create Server from std::TcpListener.
Server::from_tcp, axum_server::from_tcp and
axum_server::from_tcp_rustls methods to create Server from
std::net::TcpListener.added: Added map, get and get_mut methods to access the acceptor of Server.
map, get and get_mut methods to access the acceptor
of Server.Added TLS handshake timeout(10 seconds).
RustlsConfig: from_pem and from_pem_file methods now accept EC
keys.AddrIncomingConfig to allow configuration of
hyper::server::conn::AddrIncoming.HttpConfig::http1_header_read_timeout.Handle::listening return type to
Option<SocketAddr>. If binding fails, Option::None will be returned.Nothing published for this version
added: Added HttpConfig to allow more configuration.
HttpConfig to allow more configuration.fixed: tls-rustls feature doesn't compile if fs feature in tokio is not enabled.
tls-rustls feature doesn't compile if fs feature in tokio
is not enabled.breaking: Removed bind_rustls, certificate, certificate_file, loader, new, private_key, private_key_file, serve_and_record, tls_config methods from Se
bind_rustls, certificate, certificate_file,
loader, new, private_key, private_key_file, serve_and_record,
tls_config methods from Server.tls module.record module and feature.Handle::listening_addrs method.Server::bind method doesn't take self anymore and
creates an Server.bind method now takes a SocketAddr.bind_rustls method now takes a SocketAddr and an
tls_rustls::RustlsConfig.Server::serve method now takes a MakeService.Handle::listening method now returns SocketAddr.Handle::connection_count that can be used to get alive
connection count.service module.service::MakeServiceRef and service::SendService
traits aliases for convenience.accept module.accept::Accept trait that can be implemented to modify
io stream and service.accept::DefaultAcceptor struct that implements
accept::Accept to be used as a default 'Accept' for 'Server'.Server::acceptor method that can be used to provide a
custom accept::Accept.tls_rustls module.tls_rustls::RustlsAcceptor that can be used with
Server::acceptor to make a tls Server.tls_rustls::RustlsConfig to create rustls utilities and
to provide reload functionality.tls_rustls::bind_rustls which is same as bind_rustls
function.Nothing published for this version
- Compile on rust 1.51.
1.51.Reduced futures-util features to improve compile times.
futures-util features to improve compile times.Fixed bind and bind_rustls not working on some types.
bind and bind_rustls not working on some types.Added uri Scheme in Request extensions.
Scheme in Request extensions.Fixed serve_and_record not recording independently for each connection.
serve_and_record not recording independently for each connection.Added TlsLoader to reload tls configuration.
TlsLoader to reload tls configuration.Handle to provide additional utilities for server.Fixed an import issue when using tls-rustls feature.
tls-rustls feature.Nothing published for this version
[Keep a Changelog]: https://keepachangelog.com/en/1.0.0/ [Semantic Versioning]: https://semver.org/spec/v2.0.0.html
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →