Cargo Features

[dependencies]
surrealdb-core-alpha = { version = "2.0.9", default-features = false, features = ["kv-mem", "kv-indxdb", "kv-rocksdb", "kv-tikv", "kv-fdb", "kv-surrealkv", "scripting", "http", "ml", "jwks", "arbitrary", "kv-fdb-7_1", "kv-fdb-7_3", "tokio-tungstenite"] }
default = kv-mem

Public features

kv-mem default

Enables echodb, ext-sort, tempfile, and tokio

kv-indxdb

Enables indxdb

kv-rocksdb

Enables ext-sort, rocksdb ^0.21.0, tempfile, and tokio

kv-tikv

Enables ext-sort, tempfile, surrealdb-tikv-client, and tokio

kv-fdb

Enables ext-sort, foundationdb, tempfile, and tokio

kv-surrealkv

Enables ext-sort, surrealkv, tempfile, and tokio

scripting

Enables rquickjs

http

Enables reqwest

Affects http::head, http::get, http::put, http::post, http::patch, http::delete, util::http

ml

Enables surrealml-core

Affects surrealdb-core-alpha::obs

jwks

Enables reqwest

Affects iam::jwks

arbitrary

Enables arbitrary, geo-types, and regex-syntax, rust-fuzz of rust_decimal, arbitrary of uuid

kv-fdb-7_1

Special features

Enables fdb-7_1 of foundationdb

kv-fdb-7_3

Enables fdb-7_3 of foundationdb

Features from optional dependencies

tokio-tungstenite not wasm32 implicit feature

Enables tokio-tungstenite ^0.21.0

tokio-tungstenite:

Tokio binding for Tungstenite, the Lightweight stream-based WebSocket implementation