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

miku-ktls

Configures kTLS for tokio-rustls client and server connections

1 release (0 unstable)

7.0.0-rc.4 Apr 18, 2025

#696 in Cryptography

Download history 376/week @ 2025-04-16 4/week @ 2025-04-23 3/week @ 2025-04-30

383 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

~12–30MB
~629K SLoC