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 default-features = false somewhere in the dependency tree.

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

Enables kv-indxdb of surrealdb

kv-tikv

Enables kv-tikv of surrealdb

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.

actix-http examples
actix-web examples