Cargo Features

[dependencies]
surrealdb-server = { version = "3.0.4", default-features = false, features = ["allocation-tracking", "allocator", "http", "jwks", "ml", "performance-profiler", "scripting", "surrealism", "storage-mem", "storage-indxdb", "storage-rocksdb", "storage-surrealkv", "storage-tikv", "graphql", "cli"] }
allocation-tracking default

Public features

Enables allocation-tracking of surrealdb-core

default = allocation-tracking, allocator, cli, graphql, http, scripting, storage-mem, storage-rocksdb, storage-surrealkv, surrealism

These default features are set whenever surrealdb-server is added without default-features = false somewhere in the dependency tree.

allocator default

Enables allocator of surrealdb-core

http default

Enables http of surrealdb-core

jwks

Enables jwks of surrealdb-core

ml

Enables ml of surrealdb

workspace internal dependencies

performance-profiler

Enables pprof

Optional crates

scripting default

Enables scripting of surrealdb-core

surrealism default

Enables surrealism-runtime, surrealism-types, walrus ^0.24.4, and wasm-opt, surrealism of surrealdb-core

storage-mem default

Enables kv-mem of surrealdb and surrealdb-core

storage-indxdb

Enables kv-indxdb of surrealdb and surrealdb-core

storage-rocksdb default

Enables kv-rocksdb of surrealdb and surrealdb-core

storage-surrealkv default

Enables kv-surrealkv of surrealdb and surrealdb-core

storage-tikv

Enables kv-tikv of surrealdb and surrealdb-core

graphql default

GraphQL API support

Enables graphql of surrealdb-core and async-graphql and async-graphql-axum

async-graphql:

Other crates

Affects cnf::GQL_SUBSCRIPTION_CHANNEL_CAPACITY, ntw::gql

cli default

Interactive CLI support (SQL shell)

Enables rustyline