Skip to content

Releases: programatik29/axum-server

v0.4.0

18 Apr 10:47
db84a94
Compare
Choose a tag to compare
  • Added TLS handshake timeout(10 seconds).
  • In RustlsConfig: from_pem and from_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

17 Nov 07:04
8fb5f62
Compare
Choose a tag to compare
  • added: Added HttpConfig to allow more configuration.

v0.3.1

10 Nov 17:43
Compare
Choose a tag to compare
  • fixed: tls-rustls feature doesn't compile if fs feature in tokio is not enabled.

v0.3.0

10 Nov 09:36
3a340fd
Compare
Choose a tag to compare
  • 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 from Server.
    • breaking: Removed tls module.
    • breaking: Removed record module and feature.
    • breaking: Removed Handle::listening_addrs method.
    • breaking: Server::bind method doesn't take self anymore and creates
      an Server.
    • breaking: bind method now takes a SocketAddr.
    • breaking: bind_rustls method now takes a SocketAddr and an
      tls_rustls::RustlsConfig.
    • breaking: Server::serve method now takes a MakeService.
    • breaking: Handle::listening method now returns SocketAddr.
    • added: Added Handle::connection_count that can be used to get alive
      connection count.
    • added: Added service module.
    • added: Added service::MakeServiceRef and service::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
      custom accept::Accept.
    • added: Added tls_rustls module.
    • added: Added tls_rustls::RustlsAcceptor that can be used with
      Server::acceptor to make a tls Server.
    • added: Added tls_rustls::RustlsConfig to create rustls utilities and
      to provide reload functionality.
    • added: Added tls_rustls::bind_rustls which is same as bind_rustls
      function.

v0.2.5

05 Oct 05:19
f3510a5
Compare
Choose a tag to compare
  • Compile on rust 1.51.

v0.2.4

17 Sep 14:30
2e0c467
Compare
Choose a tag to compare
  • Reduced futures-util features to improve compile times.

v0.2.3

13 Sep 21:49
6523e23
Compare
Choose a tag to compare
  • Fixed bind and bind_rustls not working on some types.

v0.2.2

06 Sep 04:25
4fa7583
Compare
Choose a tag to compare
  • Added uri Scheme in Request extensions.
  • Fixed memory leak that happens as connections are accepted.

v0.2.1

30 Aug 06:07
a67c171
Compare
Choose a tag to compare
  • Fixed serve_and_record not recording independently for each connection.

v0.2.0

29 Aug 13:44
7b3add7
Compare
Choose a tag to compare
  • Added TlsLoader to reload tls configuration.
  • Added Handle to provide additional utilities for server.