Skip to main content

miku_ktls/
lib.rs

1//! Kernel TLS (kTLS) support for Rustls.
2
3mod cipher;
4mod error;
5mod ffi;
6pub mod setup;
7mod stream;
8pub mod utils;
9mod version;
10
11pub use cipher::{KtlsCipherSuite, KtlsCipherType};
12pub use error::{CipherSuiteError, Error};
13pub use ffi::CryptoInfo;
14#[allow(deprecated)]
15pub use setup::{config_ktls_client, config_ktls_server, Setup};
16pub use stream::{cork::CorkStream, KtlsStream};
17pub use utils::{
18    async_read_ready::AsyncReadReady,
19    compatible_ciphers::{CompatibleCiphers, CompatibleCiphersForVersion},
20};
21pub use version::KtlsVersion;