Releases: programatik29/axum-server
Releases · programatik29/axum-server
v0.4.0
- Added TLS handshake timeout(10 seconds).
- In
RustlsConfig
:from_pem
andfrom_pem_file
methods now accept EC
keys. - added: Added
AddrIncomingConfig
to allow configuration of
hyper::server::conn::AddrIncoming
. - added: Added
HttpConfig::http1_header_read_timeout
. - breaking: Changed
Handle::listening
return type to
Option<SocketAddr>
. If binding fails,Option::None
will be returned.
v0.3.2
- added: Added
HttpConfig
to allow more configuration.
v0.3.1
- fixed:
tls-rustls
feature doesn't compile iffs
feature intokio
is not enabled.
v0.3.0
- 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_config
methods fromServer
. - breaking: Removed
tls
module. - breaking: Removed
record
module and feature. - breaking: Removed
Handle::listening_addrs
method. - breaking:
Server::bind
method doesn't takeself
anymore and creates
anServer
. - breaking:
bind
method now takes aSocketAddr
. - breaking:
bind_rustls
method now takes aSocketAddr
and an
tls_rustls::RustlsConfig
. - breaking:
Server::serve
method now takes aMakeService
. - breaking:
Handle::listening
method now returnsSocketAddr
. - added: Added
Handle::connection_count
that can be used to get alive
connection count. - added: Added
service
module. - added: Added
service::MakeServiceRef
andservice::SendService
traits aliases for convenience. - added: Added
accept
module. - added: Added
accept::Accept
trait that can be implemented to modify
io stream and service. - added: Added
accept::DefaultAcceptor
struct that implements
accept::Accept
to be used as a default 'Accept' for 'Server'. - added: Added
Server::acceptor
method that can be used to provide a
customaccept::Accept
. - added: Added
tls_rustls
module. - added: Added
tls_rustls::RustlsAcceptor
that can be used with
Server::acceptor
to make a tlsServer
. - added: Added
tls_rustls::RustlsConfig
to create rustls utilities and
to provide reload functionality. - added: Added
tls_rustls::bind_rustls
which is same asbind_rustls
function.
- breaking: Removed
v0.2.5
- Compile on rust
1.51
.
v0.2.4
- Reduced
futures-util
features to improve compile times.
v0.2.3
- Fixed
bind
andbind_rustls
not working on some types.
v0.2.2
- Added uri
Scheme
inRequest
extensions. - Fixed memory leak that happens as connections are accepted.
v0.2.1
- Fixed
serve_and_record
not recording independently for each connection.
v0.2.0
- Added
TlsLoader
to reload tls configuration. - Added
Handle
to provide additional utilities for server.