Cargo Features
[dependencies]
ohttp = { version = "0.5.1", default-features = false, features = ["client", "server", "nss", "pq", "rust-hpke", "gecko", "app-svc", "external-sqlite"] }
- default = client, rust-hpke, server
-
These default features are set whenever
ohttp
is added without
somewhere in the dependency tree.default-features = false - client default
-
Affects
ohttp::ClientRequest
,ohttp::ClientResponse
… - server default
-
Affects
ohttp::Server
,ohttp::ServerResponse
… - nss app-svc? gecko? = bindgen
- pq = hpke-pq
- rust-hpke default = aead, aes-gcm, chacha20poly1305, hkdf, hpke, rand, sha2
- gecko = mozbuild, nss
- app-svc = nss
- external-sqlite
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.
- aead rust-hpke
-
Enables aead ^0.4
- aes-gcm rust-hpke
-
Enables aes-gcm ^0.9
- chacha20poly1305 rust-hpke
-
Enables chacha20poly1305 ^0.8
- hkdf rust-hpke
-
Enables hkdf ^0.11
- rand rust-hpke
- sha2 rust-hpke
-
Enables sha2 ^0.9
- hpke rust-hpke
-
Enables hpke ^0.10.0
- mozbuild build gecko?
- bindgen build nss?
-
Enables bindgen ^0.64
- hpke-pq pq?
-
Enables hpke_pq