Cargo Features

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

Public features

kv-mem default

Enables ext-sort, surrealkv ^0.5.4, tempfile, and tokio

kv-indxdb

Enables indxdb

kv-rocksdb

Enables ext-sort, rocksdb, 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 ^0.5.4, tempfile, and tokio

kv-surrealcs

Enables ext-sort, surrealcs, 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::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