* update dependencies
* add some status badges
crates.io
testing status
dependency status
* add cargo-audit ci
* add dependabot for cargo and github actions updates
resolves#63
This now causes an error message with the default bindings because on Linux
binding to both IPv6's [::] and IPv4's 0.0.0.0 results in a "port in use" error
Right now, you get an error trying to `cargo install agate`:
error[E0277]: the trait bound `TlsAcceptor: From<Arc<ServerConfig>>` is not satisfied
--> src/main.rs:91:8
|
91 | Ok(TlsAcceptor::from(Arc::new(config)))
| ^^^^^^^^^^^^^^^^^ the trait `From<Arc<ServerConfig>>` is not implemented for `TlsAcceptor`
|
= help: the following implementations were found:
<TlsAcceptor as From<Arc<rustls::server::ServerConfig>>>
<TlsAcceptor as From<rustls::server::ServerConfig>>
= note: required by `from`
This stems a recent point upgrade of async-tls. The newest version
(0.10.2) now depends on rustls 0.19. The previous version in agate's
lock file (0.10.0) depended on rustls 0.18. Agate itself also depended
on rustls 0.18.
The default behavior of `cargo install` is to ignore the lock file and
run a `cargo update` before building and installing. That causes agate
and async-tls to compile against different versions of rustls, causing
the compiler error above.
Arguably, async-tls's recent release should have been a breaking
release, to 0.11, but since that ship has sailed, we can bump agate's
requirements to the latest published versions. Everything seems to
build correctly, and the server still seems to work fine.