Cargo Features
[dependencies]
couchbase-lite = { version = "0.19.2", default-features = false, features = ["build-cpp", "git-download-cpp", "use-couchbase-lite-sqlite", "with-asan", "use-tokio-websocket", "use-native-tls", "use-couchbase-lite-websocket", "docs-rs"] }
- default = build-cpp, git-download-cpp, use-couchbase-lite-sqlite, use-native-tls, use-tokio-websocket
-
These default features are set whenever
couchbase-lite
is added without
somewhere in the dependency tree.default-features = false - build-cpp default
-
Enables build-cpp of serde-fleece and build of couchbase-lite-core-sys
couchbase-lite-core-sys:
build couchbase-lite-core from source code
- git-download-cpp default
-
Enables git-download of couchbase-lite-core-sys, git-download-cpp of serde-fleece
- use-couchbase-lite-sqlite default
-
Enables use-couchbase-lite-sqlite of couchbase-lite-core-sys and serde-fleece
couchbase-lite-core-sys:
use bundled sqlite in bundled couchbase-lite-core
- with-asan
-
Enables with-asan of couchbase-lite-core-sys and serde-fleece
- use-tokio-websocket default = futures-util, tokio, tokio-tungstenite
- use-native-tls default
-
Enables native-tls of tokio-tungstenite ^0.23.0
- use-couchbase-lite-websocket
-
Enables use-couchbase-lite-websocket of couchbase-lite-core-sys
- docs-rs
-
Enables docs-rs of couchbase-lite-core-sys and serde-fleece
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.