Cargo Features
[dependencies]
pliantdb = { version = "0.1.0-dev-2", default-features = false, features = ["full", "local", "server", "client", "cli", "websockets", "trusted-dns", "certificate-generation"] }
- default = cli
-
The
cli
feature is set by default wheneverpliantdb
is added without
somewhere in the dependency tree.default-features = false - full cli = certificate-generation, client, local, server, trusted-dns, websockets
- local full? = pliantdb-local
- server full? = pliantdb-server
- client full? = pliantdb-client
- cli default = anyhow, full, structopt, tokio
-
Enables cli of pliantdb-local and pliantdb-server
Affects
pliantdb::cli
…Required by the binary
- websockets full?
-
Enables websockets of pliantdb-client and pliantdb-server
- trusted-dns full?
-
Enables trusted-dns of pliantdb-client and pliantdb-server
- certificate-generation full?
-
Enables certificate-generation of pliantdb-server
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.