Cargo Features
[dependencies]
bonsaidb-server = { version = "0.5.0", default-features = false, features = ["full", "cli", "websockets", "instrument", "acme", "encryption", "password-hashing", "token-authentication", "compression", "included-from-omnibus", "test-util", "hyper"] }
- default = full
-
The
full
feature is set by default wheneverbonsaidb-server
is added without
somewhere in the dependency tree.default-features = false - full default = acme, cli, compression, encryption, password-hashing, token-authentication, websockets
- cli full = pem
-
Enables clap and env_logger ^0.10.0, cli of bonsaidb-local
Affects
bonsaidb-server::cli
… - websockets full
-
Enables base64 ^0.21.0 and bincode, sha-1 and tokio-tungstenite ^0.20.0, websockets of bonsaidb-core
Affects
serve::Serve.http_port
,serve::Serve.https_port
… - instrument
- acme full = pem
-
Enables async-acme ^0.4.0
Affects
config::ServerConfiguration.acme
,server::acme
,serve::Serve.http_port
,serve::Serve.https_port
… - encryption full
-
Enables encryption of bonsaidb-core and bonsaidb-local
- password-hashing full
-
Enables password-hashing of bonsaidb-core and bonsaidb-local
- token-authentication full
-
Enables token-authentication of bonsaidb-core and bonsaidb-local
- compression full
-
Enables compression of bonsaidb-local
- included-from-omnibus
- test-util
-
Enables test-util of bonsaidb-core
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.
- pem acme? cli?
- hyper implicit feature
-
Enables hyper ^0.14
hyper:
A fast and correct HTTP library