Cargo Features

[dependencies]
surrealdb-alpha = { version = "2.0.9", default-features = false, features = ["protocol-http", "protocol-ws", "kv-mem", "kv-indxdb", "kv-rocksdb", "kv-tikv", "kv-fdb", "kv-surrealkv", "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 and tokio-util

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-alpha

Affects local::Mem

kv-indxdb

Enables kv-indxdb of surrealdb-core-alpha

Affects local::IndxDb

kv-rocksdb

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

Affects local::File, local::RocksDb

kv-tikv

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

Affects local::TiKv

kv-fdb

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

Affects local::FDb

kv-surrealkv

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

Affects local::SurrealKV

scripting

Enables scripting of surrealdb-core-alpha

http

Enables http of surrealdb-core-alpha

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-alpha

jwks

Enables jwks of surrealdb-core-alpha

arbitrary

Enables arbitrary of surrealdb-core-alpha

kv-fdb-7_1

Special features

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

kv-fdb-7_3

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