Cargo Features

surrealdb-sql has no features set by default.

[dependencies]
surrealdb-sql = { version = "1.1.0", features = ["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", "scripting", "http", "ml", "kv-fdb", "tokio-tungstenite"] }
kv-mem

Public features

Enables echodb ^0.4.0 and tokio

kv-indxdb

Enables indxdb ^0.4.0

kv-speedb

Enables speedb ^0.0.4 and tokio

kv-rocksdb

Enables rocksdb ^0.21.0 and tokio

kv-tikv

Enables surrealdb-tikv-client ^0.2.0-surreal.2

kv-fdb-5_1 = kv-fdb

Enables fdb-5_1 of foundationdb ^0.8.0

kv-fdb-5_2 = kv-fdb

Enables fdb-5_2 of foundationdb ^0.8.0

kv-fdb-6_0 = kv-fdb

Enables fdb-6_0 of foundationdb ^0.8.0

kv-fdb-6_1 = kv-fdb

Enables fdb-6_1 of foundationdb ^0.8.0

kv-fdb-6_2 = kv-fdb

Enables fdb-6_2 of foundationdb ^0.8.0

kv-fdb-6_3 = kv-fdb

Enables fdb-6_3 of foundationdb ^0.8.0

kv-fdb-7_0 = kv-fdb

Enables fdb-7_0 of foundationdb ^0.8.0

kv-fdb-7_1 = kv-fdb

Enables fdb-7_1 of foundationdb ^0.8.0

scripting

Enables rquickjs ^0.4.0

http

Enables reqwest ^0.11.22

Affects http::head, http::get, http::put, http::post, http::patch, http::delete, util::http

ml

Enables hex, ndarray ^0.15.6, and surrealml-core ^0.0.3

Affects surrealdb-sql::obs

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

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

foundationdb 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?

Enables foundationdb ^0.8.0

tokio-tungstenite not wasm32 implicit feature

Enables tokio-tungstenite ^0.20.1

tokio-tungstenite:

Tokio binding for Tungstenite, the Lightweight stream-based WebSocket implementation