#tls #ktls #ktls-sys #tip #miku-ktls

miku-ktls

Configures kTLS for tokio-rustls client and server connections

1 release (0 unstable)

new 7.0.0-rc.4 Apr 18, 2025

#2 in #tip

Download history

97 downloads per month

MIT/Apache

58KB
1K SLoC

test pipeline Coverage Status (codecov.io) Crates.io license: MIT/Apache-2.0

ktls

Configures kTLS (kernel TLS offload) for any type that implements AsRawFd, given a rustls ServerConnection.

Tip

This crate is modified from the original one.

The core change is that will return the underlying TlsStream when error (fallback mode).

License

This project is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT for details.

Dependencies

~13–30MB
~628K SLoC