Cargo Features

[dependencies]
surrealdb-next = { version = "2.0.20240611", 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", "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, kv-mem of surrealdb-core-next

Affects local::Mem

kv-indxdb

Enables kv-indxdb of surrealdb-core-next

Affects local::IndxDb

kv-speedb

Enables tokio, kv-speedb of surrealdb-core-next

Affects local::SpeeDb

kv-rocksdb

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

Affects local::File, local::RocksDb

kv-tikv

Enables kv-tikv of surrealdb-core-next

Affects local::TiKv

kv-fdb-5_1 = kv-fdb

Enables kv-fdb-5_1 of surrealdb-core-next

kv-fdb-5_2 = kv-fdb

Enables kv-fdb-5_2 of surrealdb-core-next

kv-fdb-6_0 = kv-fdb

Enables kv-fdb-6_0 of surrealdb-core-next

kv-fdb-6_1 = kv-fdb

Enables kv-fdb-6_1 of surrealdb-core-next

kv-fdb-6_2 = kv-fdb

Enables kv-fdb-6_2 of surrealdb-core-next

kv-fdb-6_3 = kv-fdb

Enables kv-fdb-6_3 of surrealdb-core-next

kv-fdb-7_0 = kv-fdb

Enables kv-fdb-7_0 of surrealdb-core-next

kv-fdb-7_1 = kv-fdb

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

kv-surrealkv

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

Affects local::SurrealKV

scripting

Enables scripting of surrealdb-core-next

http

Enables http of surrealdb-core-next

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

jwks

Enables jwks of surrealdb-core-next

arbitrary

Enables arbitrary of surrealdb-core-next

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