Cargo Features
[dependencies]
surrealdb-core-nightly = { version = "3.0.20250822172951", default-features = false, features = ["kv-mem", "kv-indxdb", "kv-rocksdb", "kv-tikv", "kv-fdb", "kv-surrealkv", "scripting", "http", "ml", "jwks", "allocator", "allocation-tracking", "arbitrary", "kv-fdb-7_1", "kv-fdb-7_3", "enterprise", "tokio-tungstenite"] }
- default = kv-mem
-
Public features
- kv-mem default
-
Enables affinitypool ^0.3.1, ext-sort, surrealkv ^0.9.1, tempfile, and tokio
surrealkv:
workspace internal dependencies
External surreal crates - kv-indxdb
-
Enables indxdb ^0.6.0
- kv-rocksdb
-
Enables affinitypool ^0.3.1, ext-sort, rocksdb ^0.23.0, tempfile, and tokio
Affects
raw::keysr,raw::scanr… - kv-tikv
-
Enables ext-sort, tempfile, surrealdb-tikv-client, and tokio
Affects
raw::keysr,raw::scanr… - kv-fdb kv-fdb-7_1? kv-fdb-7_3?
-
Enables ext-sort, foundationdb ^0.9.0, tempfile, and tokio
foundationdb:
External KV stores
- kv-surrealkv
-
Enables affinitypool ^0.3.1, ext-sort, surrealkv ^0.9.1, tempfile, and tokio
- scripting
-
Enables rquickjs ^0.9.0
- http
-
Enables reqwest
Affects
http::head,http::get,http::put,http::post,http::patch,http::delete,http::resolver,util::http… - ml
-
Enables surrealml-core
- jwks
-
Enables reqwest
Affects
iam::jwks… - allocator
-
Enables tikv-jemallocator and mimalloc
Affects
mem::ALLOC,mem::ALLOC,mem::ALLOC,mem::ALLOC,mem::ALLOC,mem::ALLOC… - allocation-tracking
- arbitrary
-
Enables rust-fuzz of rust_decimal, arbitrary of uuid, arbitrary of geo-types and regex-syntax and arbitrary
Other optional crates
- kv-fdb-7_1 = kv-fdb
-
Special features
Enables fdb-7_1 of foundationdb ^0.9.0
- kv-fdb-7_3 = kv-fdb
-
Enables fdb-7_3 of foundationdb ^0.9.0
- enterprise
-
Enables rust-s3 ^0.35.1
Affects
surrealdb-core-nightly::ent…
Features from optional dependencies
- tokio-tungstenite not wasm implicit feature
-
Enables tokio-tungstenite ^0.23.1
tokio-tungstenite:
Tokio binding for Tungstenite, the Lightweight stream-based WebSocket implementation