axum-server
High level server designed to be used with axum framework.
0.8.0
33M downloads/mo
#1586 most downloaded on crates.io
programatik29/axum-server
What this package is like to depend on
Last release 8 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
2 releases in the last 12 months
see the full history below
Release timeline
31 releases · Aug 2021 to Dec 2025Releases
latest 31-
0.8.006 Dec 2025Release notes
Open source →- changed:
Serveris now generic over connections, allowingaxum-serverto listen not just on TCP. - added: Support for Unix sockets has been implemented and an example for Unix sockets has been provided.
- changed:
rustls-pemfilewas replaced withrustls-pki-typesas it is now unmaintained.
Release notes
Open source →- changed:
Serveris now generic over connections, allowingaxum-serverto listen not just on TCP. - added: Support for Unix sockets has been implemented and an example for Unix sockets has been provided.
- changed:
rustls-pemfilewas replaced withrustls-pki-typesas it is now unmaintained.
Release notes
Open source →- changed:
Serveris 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. - changed: Changed
rustls-pemfilewithrustls-pki-typesas it is now unmaintained.
- changed:
-
0.7.314 Nov 2025 -
0.7.214 Mar 2025Release notes
Open source →- changed: Use fs-err to augment errors loading pem files.
- changed: Updated
towerfrom0.4to0.5. - added: Support reading PKCS#1 and SEC1 private keys with Rustls.
Release notes
Open source →- changed: Use fs-err to augment errors loading pem files.
- changed: Updated
towerfrom0.4to0.5. - added: Support reading PKCS#1 and SEC1 private keys with Rustls.
-
0.7.131 Jul 2024Release notes
Open source →- added: Crate feature
tls-rustls-no-provider, which enables norustls::crypto::CryptoProvider. - fixed: Correct minimum required
hyper-utilto0.1.2.
Release notes
Open source →- added: Crate feature
tls-rustls-no-provider, which enables norustls::crypto::CryptoProvider. - fixed: Correct minimum required
hyper-utilto0.1.2.
- added: Crate feature
-
0.7.030 Jul 2024Release notes
Open source →- fixed: Graceful shutdown now stops accepting requests from existing connections.
- changed: Updated
rustlsfrom0.21to0.23. - changed: Updated
tokio-rustlsfrom0.24to0.26. - changed: Updated
hyperfrom1.0.1to1.4. - changed: Updated
httpfrom1.0.0to1.1. - added:
rustls-pki-typesdependency for thetls-rustlsfeature. - changed: Replaced usage of
rustls::Certificateandrustls::PrivateKeywithrustls_pki_types::CertificateDerandrustls_pki_types::PrivateKeyDer. - changed: Updated
ServerConfiginitialization to removewith_safe_defaults()call. - changed: Updated
ClientConfiginitialization in tests to usedangerous()instead ofwith_safe_defaults(). - changed: Updated
ServerCertVerifierimplementation in tests to match new rustls API. - changed: Minor version bumps for various dependencies including
rustls-pemfile,serial_test, andtower-http.
Release notes
Open source →- fixed: Graceful shutdown now stops accepting requests from existing connections.
- changed: Updated
rustlsfrom0.21to0.23. - changed: Updated
tokio-rustlsfrom0.24to0.26. - changed: Updated
hyperfrom1.0.1to1.4. - changed: Updated
httpfrom1.0.0to1.1. - added:
rustls-pki-typesdependency for thetls-rustlsfeature. - changed: Replaced usage of
rustls::Certificateandrustls::PrivateKeywithrustls_pki_types::CertificateDerandrustls_pki_types::PrivateKeyDer. - changed: Updated
ServerConfiginitialization to removewith_safe_defaults()call. - changed: Updated
ClientConfiginitialization in tests to usedangerous()instead ofwith_safe_defaults(). - changed: Updated
ServerCertVerifierimplementation in tests to match new rustls API. - changed: Minor version bumps for various dependencies including
rustls-pemfile,serial_test, andtower-http.
-
0.6.022 Dec 2023Release notes
Open source →- added: functionalities in
tls_openssl, that were added as they appeared to be only intls_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_file
- added:
from_pem_chain_filemethod forRustlsConfig. - breaking: Removed
HttpConfigandAddrIncomingConfig. - breaking: Updated
axumfrom0.6to0.7. - breaking: Updated
hyperto1.0.1.
Release notes
Open source →- added: functionalities in
tls_openssl, that were added as they appeared to be only intls_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_file
- added:
from_pem_chain_filemethod forRustlsConfig. - breaking: Removed
HttpConfigandAddrIncomingConfig. - breaking: Updated
axumfrom0.6to0.7. - breaking: Updated
hyperto1.0.1.
- added: functionalities in
-
0.5.115 May 2023Release notes
Open source →- added:
http2_enable_connect_protocol,http2_max_header_list_size,
http2_max_pending_accept_reset_streamsandhttp2_max_send_buf_size
methods toHttpConfig.
Release notes
Open source →- added:
http2_enable_connect_protocol,http2_max_header_list_size,http2_max_pending_accept_reset_streamsandhttp2_max_send_buf_sizemethods toHttpConfig.
- added:
-
0.5.004 May 2023Release notes
Open source →- breaking: Updated
rustlsfrom0.20to0.21which affects
ServerConfigtype. - breaking: Updated
tokio-rustlsfrom0.23to0.24which affects
TlsStreamtype.
Release notes
Open source →- breaking: Updated
rustlsfrom0.20to0.21which affectsServerConfigtype. - breaking: Updated
tokio-rustlsfrom0.23to0.24which affectsTlsStreamtype.
- breaking: Updated
-
0.4.719 Mar 2023 -
0.4.621 Feb 2023Nothing published for this version
-
0.4.518 Feb 2023Release notes
Open source →- changed:
Handle::graceful_shutdownnow informs connections about the graceful shutdown.
- changed:
-
0.4.407 Nov 2022Nothing published for this version
-
0.4.303 Nov 2022Release notes
Open source →- added: Added
tcp_keepalive_intervalandtcp_keepalive_retriestoAddrIncomingConfig.
- added: Added
-
0.4.205 Aug 2022Release notes
Open source →- added: Added
Server::from_tcp,axum_server::from_tcpandaxum_server::from_tcp_rustlsmethods to createServerfromstd::net::TcpListener.
- added: Added
-
0.4.129 Jul 2022Release notes
Open source →- added: Added
map,getandget_mutmethods to access the acceptor ofServer.
- added: Added
-
0.4.018 Apr 2022Release notes
Open source →- Added TLS handshake timeout(10 seconds).
- In
RustlsConfig:from_pemandfrom_pem_filemethods now accept EC keys. - added: Added
AddrIncomingConfigto allow configuration ofhyper::server::conn::AddrIncoming. - added: Added
HttpConfig::http1_header_read_timeout. - breaking: Changed
Handle::listeningreturn type toOption<SocketAddr>. If binding fails,Option::Nonewill be returned.
-
0.3.325 Nov 2021Nothing published for this version
-
0.3.217 Nov 2021 -
0.3.110 Nov 2021Release notes
Open source →- fixed:
tls-rustlsfeature doesn't compile iffsfeature intokiois not enabled.
- fixed:
-
0.3.010 Nov 2021 withdrawnRelease notes
Open source →- Total rewrite of source code.
- Major api changes:
- breaking: Removed
bind_rustls,certificate,certificate_file,loader,new,private_key,private_key_file,serve_and_record,tls_configmethods fromServer. - breaking: Removed
tlsmodule. - breaking: Removed
recordmodule and feature. - breaking: Removed
Handle::listening_addrsmethod. - breaking:
Server::bindmethod doesn't takeselfanymore and creates anServer. - breaking:
bindmethod now takes aSocketAddr. - breaking:
bind_rustlsmethod now takes aSocketAddrand antls_rustls::RustlsConfig. - breaking:
Server::servemethod now takes aMakeService. - breaking:
Handle::listeningmethod now returnsSocketAddr. - added: Added
Handle::connection_countthat can be used to get alive connection count. - added: Added
servicemodule. - added: Added
service::MakeServiceRefandservice::SendServicetraits aliases for convenience. - added: Added
acceptmodule. - added: Added
accept::Accepttrait that can be implemented to modify io stream and service. - added: Added
accept::DefaultAcceptorstruct that implementsaccept::Acceptto be used as a default 'Accept' for 'Server'. - added: Added
Server::acceptormethod that can be used to provide a customaccept::Accept. - added: Added
tls_rustlsmodule. - added: Added
tls_rustls::RustlsAcceptorthat can be used withServer::acceptorto make a tlsServer. - added: Added
tls_rustls::RustlsConfigto create rustls utilities and to provide reload functionality. - added: Added
tls_rustls::bind_rustlswhich is same asbind_rustlsfunction.
- breaking: Removed
-
0.2.603 Nov 2021Nothing published for this version
-
0.2.505 Oct 2021 -
0.2.417 Sep 2021 -
0.2.313 Sep 2021 -
0.2.206 Sep 2021Release notes
Open source →- Added uri
SchemeinRequestextensions. - Fixed memory leak that happens as connections are accepted.
- Added uri
-
0.2.130 Aug 2021 -
0.2.029 Aug 2021Release notes
Open source →- Added
TlsLoaderto reload tls configuration. - Added
Handleto provide additional utilities for server.
- Added
-
0.1.224 Aug 2021 -
0.1.123 Aug 2021 withdrawnNothing published for this version
-
0.1.023 Aug 2021 withdrawn -
0.0.020 Aug 2021Nothing published for this version