Cargo Features
[dependencies]
bitcoin-ohttp = { version = "0.6.0", default-features = false, features = ["app-svc", "client", "external-sqlite", "gecko", "nss", "regex-mess", "rust-hpke", "server"] }
- default = client, rust-hpke, server
-
These default features are set whenever
bitcoin-ohttp
is added without
somewhere in the dependency tree.default-features = false - app-svc = nss
- client default
-
Affects
bitcoin-ohttp::ClientRequest
,bitcoin-ohttp::ClientResponse
… - external-sqlite
- gecko = mozbuild, nss
- nss app-svc? gecko? = bindgen, regex-mess
- regex-mess nss? = regex, regex-automata, regex-syntax
- rust-hpke default = aead, aes-gcm, bitcoin-hpke, chacha20poly1305, hkdf, rand, sha2
- server default
-
Affects
bitcoin-ohttp::Server
,bitcoin-ohttp::ServerResponse
…
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
- bitcoin-hpke rust-hpke
- rand rust-hpke
- regex regex-mess?
-
Enables regex ~1.9
bindgen uses regex and friends, which have been updated past our MSRV however, the cargo resolver happily resolves versions that it can't compile
- regex-automata regex-mess?
-
Enables regex-automata ~0.3
- regex-syntax regex-mess?
-
Enables regex-syntax ~0.7
- sha2 rust-hpke
-
Enables sha2 ^0.9
- mozbuild build gecko?
- bindgen build nss?
-
Enables bindgen ^0.69