Cargo Features
[dependencies]
bb8_surrealdb2 = { version = "0.3.0", default-features = false, features = ["kv-memory", "kv-rocksdb", "kv-surreal", "kv-websocket", "kv-indxdb", "kv-tikv", "kv-fdb", "http", "examples"] }
- default = examples, kv-memory
-
These default features are set whenever
bb8_surrealdb2
is added without
somewhere in the dependency tree.default-features = false - kv-memory default examples
-
Enables surrealdb
- kv-rocksdb
-
Enables kv-rocksdb of surrealdb
- kv-surreal
-
Enables kv-surrealkv of surrealdb
- kv-websocket
-
Enables protocol-ws of surrealdb
- kv-indxdb
- kv-tikv
- kv-fdb
-
Enables kv-fdb-7_3 of surrealdb
- http
-
Enables http and protocol-http of surrealdb
- examples default = actix-http, actix-web, kv-memory
-
Affects
bb8_surrealdb2::examples
…
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.