Cargo Features

[dependencies]
surrealdb-nightly = { version = "2.0.20241112", default-features = false, features = ["protocol-http", "protocol-ws", "kv-mem", "kv-indxdb", "kv-rocksdb", "kv-tikv", "kv-fdb", "kv-surrealkv", "kv-surrealcs", "scripting", "http", "native-tls", "rustls", "ml", "jwks", "arbitrary", "kv-fdb-7_1", "kv-fdb-7_3"] }
default = protocol-ws, rustls

Public features

protocol-http

Enables reqwest

Affects remote::http, api::headers, engine::remote

protocol-ws default

Enables tokio, tokio-tungstenite ^0.23.1, and trice

Affects remote::ws, engine::remote

kv-mem

Enables tokio, kv-mem of surrealdb-core-nightly

Affects local::Mem

kv-indxdb

Enables kv-indxdb of surrealdb-core-nightly

Affects local::IndxDb

kv-rocksdb

Enables tokio, kv-rocksdb of surrealdb-core-nightly

Affects local::File, local::RocksDb

kv-tikv

Enables tokio, kv-tikv of surrealdb-core-nightly

Affects local::TiKv

kv-fdb

Enables tokio, kv-fdb of surrealdb-core-nightly

Affects local::FDb

kv-surrealkv

Enables tokio, kv-surrealkv of surrealdb-core-nightly

Affects local::SurrealKv, local::SurrealKV

kv-surrealcs

Enables tokio, kv-surrealcs of surrealdb-core-nightly

Affects local::SurrealCs, local::SurrealCS

scripting

Enables scripting of surrealdb-core-nightly

http

Enables http of surrealdb-core-nightly

native-tls

Enables native-tls and native-tls of optional reqwest and optional tokio-tungstenite ^0.23.1

reqwest:

Enables native-tls specific functionality not available by default.

Affects tls::Tls

rustls default

Enables rustls, rustls-tls of optional reqwest, rustls-tls-webpki-roots of optional tokio-tungstenite ^0.23.1

Affects tls::Tls

ml

Enables ml of surrealdb-core-nightly

jwks

Enables jwks of surrealdb-core-nightly

arbitrary

Enables arbitrary of surrealdb-core-nightly

kv-fdb-7_1

Special features

Enables kv-fdb-7_1 of surrealdb-core-nightly

kv-fdb-7_3

Enables kv-fdb-7_3 of surrealdb-core-nightly