Cargo Features
[dependencies]
tsp_sdk = { version = "0.8.0-rc1", default-features = false, features = ["cesr-t", "essr", "demo", "nacl", "pq", "async", "resolve", "serialize", "use_local_certificate", "fuzzing"] }
- default = async
-
The
async
feature is set by default whenevertsp_sdk
is added without
somewhere in the dependency tree.default-features = false - cesr-t
- essr nacl? pq?
- strict demo
- nacl = essr
-
Affects
crypto::gen_encrypt_keypair
… - pq = essr
-
Enables hpke_pq
Affects
crypto::Aead
,crypto::Kdf
,crypto::Kem
,crypto::gen_encrypt_keypair
,definitions::PRIVATE_KEY_SIZE
,definitions::PUBLIC_KEY_SIZE
… - async default = aries-askar, resolve
-
Enables async-stream, futures, quinn, rustls, rustls-native-certs, rustls-pemfile, rustls-pki-types, tokio, tokio-rustls, tokio-tungstenite, tokio-util, and tracing
tokio-tungstenite:
transports
Affects
definitions::TSPStream
,tsp_sdk::transport
… - resolve async = serialize
-
Enables reqwest
Affects
resolve::verify_vid
… - serialize resolve?
-
Enables serde and serde_with
Affects
vid::deserialize
… - use_local_certificate
- fuzzing
-
Enables arbitrary
Affects
packet::fuzzing
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- aries-askar async
-
Enables aries-askar
async