tiny-http v0.12.0 Release Notes
⬆️ Bumped the minimum compiler version tested by CI to 1.56 - this is necessary due to an increasing number of dependencies introducing Cargo manifest features only supported on newer versions of Rust.
Thanks to @ColonelThirtyTwo for adding support for binding to UNIX sockets when creating a tiny-http server. This change makes a few small breaking API modifications, if you are constructing
ServerConfigmanually you will need to use the new
ListenAddrtype rather than directly supplying a
Server::server_addr()will now return an enum that can represent either a TCP socket or a UNIX socket.
Request::remote_addr()now returns an
Option<&SocketAddr>as UNIX sockets don't ever have a remote host.
@esheppa replaced our internal HTTPDate type with the
httpdatelibrary (used extensively in the community by Hyper, Tokio and others) which reduces our baseline dependency tree from 18 crates to 5!
TestRequest::pathno longer has a
'staticbound, allowing for fuzzers to generate test request paths at runtime.
zeroizeso it can float around any stable