Cargo Features
[dependencies]
hyperdriver = { version = "0.8.2", default-features = false, features = ["axum", "client", "incoming", "mocks", "server", "sni", "stream", "tls", "tls-aws-lc", "tls-ring", "docs"] }
- default = client, server, stream
-
These default features are set whenever
hyperdriver
is added without
somewhere in the dependency tree.default-features = false - axum
-
Enables axum
- client default = incoming
-
Enables tower-http ^0.5.2, parking_lot, socket2, and thiserror ^1, timeout of tower ^0.4
Affects
hyperdriver::client
… - incoming client server
- mocks
-
Affects
protocol::mock
,stream::mock
,transport::mock
… - server default = incoming
-
Enables ouroboros and thiserror ^1
Affects
hyperdriver::server
… - sni
-
Affects
tls::sni
… - stream default
-
Affects
stream::Stream
,transport::duplex
,transport::TransportExt.into_stream
,info::BraidAddr
,info::ConnectionInfo
,acceptor::Acceptor
,acceptor::AcceptorCore
,stream::Stream
… - tls
-
Enables rustls, rustls-native-certs, and tokio-rustls
Affects
transport::tls
,transport::TransportExt.with_tls
,transport::TransportExt.with_default_tls
,transport::TransportExt.with_optional_tls
,transport::TlsConnectionError
,client::default_tls_config
,info::tls
,conn::tls
,stream::tls
… - tls-aws-lc
-
Enables aws_lc_rs of rustls and tokio-rustls
- tls-ring
-
Enables ring of rustls and tokio-rustls
- docs