-
Version 0.4.0
Stablereleased this
2026-07-26 20:00:52 +02:00 | 51 commits to main since this releaseVersion 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 fromcert.pem/key.pem. The client pins the server's certificate via aRootCertStorerather than trusting a public CA chain. - Added
tls.rsmodule with certificate/private-key loading logic (viarustls_pemfile) and abuild_connector()helper on the client side.
Changed
TcpReader/TcpWriterandWsReader/WsWriternow operate overTlsStream<TcpStream>instead of raw TCP streams ortokio-tungstenite'sMaybeTlsStream.- Server cert/key loading now surfaces the underlying error on failure instead of a bare
.expect()panic. - Upgraded
async-traitto 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.87container image (faster than genericubuntu-latest, toolchain preinstalled). - Bumped
actions/checkoutto 7.0.0.
Full diff: v0.3.0...v0.4.0
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- TLS support for TCP and WebSocket connections (client & server). Both the raw TCP and WebSocket listeners/connections are now wrapped with