Cargo Features

[dependencies]
edgedb-tokio = { version = "0.5.1", default-features = false, features = ["derive", "env", "admin_socket", "unstable", "fs", "miette-errors"] }
default = derive, env

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

derive default = edgedb-derive
env default = fs

Affects edgedb-tokio::create_client

admin_socket = dirs
unstable = serde_json, tokio-stream

features for CLI and Wasm

Affects edgedb-tokio::credentials, edgedb-tokio::raw, edgedb-tokio::server_params, edgedb-tokio::tls

fs env = dirs, serde_json

Enables fs of tokio

miette-errors

Enables miette of edgedb-errors

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.

edgedb-derive derive
serde_json fs? unstable?
dirs admin_socket? fs?
tokio-stream unstable?