Cargo Features

[dependencies]
surrealdb = { version = "1.4.2", default-features = false, features = ["protocol-http", "protocol-ws", "kv-mem", "kv-indxdb", "kv-speedb", "kv-rocksdb", "kv-tikv", "kv-fdb-5_1", "kv-fdb-5_2", "kv-fdb-6_0", "kv-fdb-6_1", "kv-fdb-6_2", "kv-fdb-6_3", "kv-fdb-7_0", "kv-fdb-7_1", "kv-surrealkv", "scripting", "http", "native-tls", "rustls", "ml", "jwks", "sql2", "parser2", "arbitrary", "kv-fdb"] }
default = protocol-ws, rustls

Public features

protocol-http

Enables reqwest ^0.11.22 and tokio-util

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

protocol-ws default

Enables tokio, tokio-tungstenite ^0.20.1, and trice

Affects remote::ws, engine::remote

kv-mem

Enables tokio and kv-mem of surrealdb-core and surrealdb-core =2.0.0-1.4.2

surrealdb-core:

Public features

Affects local::Mem

kv-indxdb

Enables kv-indxdb of surrealdb-core and surrealdb-core =2.0.0-1.4.2

Affects local::IndxDb

kv-speedb

Enables tokio, kv-speedb of surrealdb-core and surrealdb-core =2.0.0-1.4.2

Affects local::SpeeDb

kv-rocksdb

Enables tokio, kv-rocksdb of surrealdb-core and surrealdb-core =2.0.0-1.4.2

Affects local::File, local::RocksDb

kv-tikv

Enables kv-tikv of surrealdb-core and surrealdb-core =2.0.0-1.4.2

Affects local::TiKv

kv-fdb-5_1 = kv-fdb

Enables kv-fdb-5_1 of surrealdb-core and surrealdb-core =2.0.0-1.4.2

kv-fdb-5_2 = kv-fdb

Enables kv-fdb-5_2 of surrealdb-core and surrealdb-core =2.0.0-1.4.2

kv-fdb-6_0 = kv-fdb

Enables kv-fdb-6_0 of surrealdb-core and surrealdb-core =2.0.0-1.4.2

kv-fdb-6_1 = kv-fdb

Enables kv-fdb-6_1 of surrealdb-core and surrealdb-core =2.0.0-1.4.2

kv-fdb-6_2 = kv-fdb

Enables kv-fdb-6_2 of surrealdb-core and surrealdb-core =2.0.0-1.4.2

kv-fdb-6_3 = kv-fdb

Enables kv-fdb-6_3 of surrealdb-core and surrealdb-core =2.0.0-1.4.2

kv-fdb-7_0 = kv-fdb

Enables kv-fdb-7_0 of surrealdb-core and surrealdb-core =2.0.0-1.4.2

kv-fdb-7_1 = kv-fdb

Enables kv-fdb-7_1 of surrealdb-core and surrealdb-core =2.0.0-1.4.2

kv-surrealkv

Enables tokio, kv-surrealkv of surrealdb-core and surrealdb-core =2.0.0-1.4.2

Affects local::SurrealKV

scripting

Enables scripting of surrealdb-core and surrealdb-core =2.0.0-1.4.2

http

Enables http of surrealdb-core and surrealdb-core =2.0.0-1.4.2

native-tls

Enables native-tls and native-tls of optional reqwest ^0.11.22 and optional tokio-tungstenite ^0.20.1

reqwest:

Enables native-tls specific functionality not available by default.

Affects tls::Tls

rustls default

Enables rustls ^0.21.11, rustls-tls of optional reqwest ^0.11.22, rustls-tls-webpki-roots of optional tokio-tungstenite ^0.20.1

Affects tls::Tls

ml

Enables ml of surrealdb-core and surrealdb-core =2.0.0-1.4.2

jwks = sql2

Enables jwks of surrealdb-core =2.0.0-1.4.2

sql2 jwks?

Enables surrealdb-core =2.0.0-1.4.2

parser2

Enables experimental-parser of surrealdb-core and surrealdb-core =2.0.0-1.4.2

arbitrary

Enables arbitrary of surrealdb-core and surrealdb-core =2.0.0-1.4.2

kv-fdb kv-fdb-5_1? kv-fdb-5_2? kv-fdb-6_0? kv-fdb-6_1? kv-fdb-6_2? kv-fdb-6_3? kv-fdb-7_0? kv-fdb-7_1?

Private features

Enables tokio

Affects local::FDb