• v0.4.0 78713c3e22

    Version 0.4.0
    All checks were successful
    CI / Format (push) Successful in 42s
    CI / Clippy (push) Successful in 53s
    Stable

    Aelthorim released this 2026-07-26 20:00:52 +02:00 | 51 commits to main since this release

    Version 0.4.0

    Added

    • TLS support for TCP and WebSocket connections (client & server). Both the raw TCP and WebSocket listeners/connections are now wrapped with tokio-rustls, using certificates loaded from cert.pem/key.pem. The client pins the server's certificate via a RootCertStore rather than trusting a public CA chain.
    • Added tls.rs module with certificate/private-key loading logic (via rustls_pemfile) and a build_connector() helper on the client side.

    Changed

    • TcpReader/TcpWriter and WsReader/WsWriter now operate over TlsStream<TcpStream> instead of raw TCP streams or tokio-tungstenite's MaybeTlsStream.
    • Server cert/key loading now surfaces the underlying error on failure instead of a bare .expect() panic.
    • Upgraded async-trait to 0.1.91 (server, client, common crates).

    CI

    • CI workflow now runs on any branch for both pushes and pull requests.
    • Switched to a specialized rust-1.87 container image (faster than generic ubuntu-latest, toolchain preinstalled).
    • Bumped actions/checkout to 7.0.0.

    Full diff: v0.3.0...v0.4.0

    Downloads