Cargo Features

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

Public features

kv-mem default

Enables ext-sort, surrealkv, tempfile, and tokio

kv-indxdb

Enables indxdb

kv-rocksdb

Enables ext-sort, rocksdb ^0.22.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

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

jwks

Enables reqwest

Affects iam::jwks

allocator

Enables jemallocator and mimalloc

Affects mem::ALLOC, mem::ALLOC, mem::ALLOC, mem::ALLOC, mem::ALLOC, mem::ALLOC

allocation-tracking
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