Cargo Features
[dependencies]
surrealdb = { version = "2.1.0", 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
Affects
local::Mem
… - kv-indxdb
-
Enables kv-indxdb of surrealdb-core
Affects
local::IndxDb
… - kv-rocksdb
-
Enables tokio, kv-rocksdb of surrealdb-core
Affects
local::File
,local::RocksDb
… - kv-tikv
-
Enables tokio, kv-tikv of surrealdb-core
Affects
local::TiKv
… - kv-fdb
-
Enables tokio, kv-fdb of surrealdb-core
Affects
local::FDb
… - kv-surrealkv
-
Enables tokio, kv-surrealkv of surrealdb-core
Affects
local::SurrealKv
,local::SurrealKV
… - kv-surrealcs
-
Enables tokio, kv-surrealcs of surrealdb-core
Affects
local::SurrealCs
,local::SurrealCS
… - scripting
-
Enables scripting of surrealdb-core
- http
-
Enables http of surrealdb-core
- 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
- jwks
-
Enables jwks of surrealdb-core
- arbitrary
-
Enables arbitrary of surrealdb-core
- kv-fdb-7_1
-
Special features
Enables kv-fdb-7_1 of surrealdb-core
- kv-fdb-7_3
-
Enables kv-fdb-7_3 of surrealdb-core