Cargo Features

[dependencies]
starlane = { version = "0.3.21", default-features = false, features = ["full", "server", "cli", "hypererr", "hyperspace", "hyperlane", "hyperlane-tcp", "hyperlane-quic", "postgres", "postgres-embedded", "parse", "rustls", "driver", "dialect", "dialect-cli", "service", "space", "wasm"] }
default = server

The server feature is set by default whenever starlane is added without default-features = false somewhere in the dependency tree.

full = server
server default full? = cli, hyperlane, hyperlane-tcp, hyperspace, postgres, postgres-embedded, service, space

Enables anyhow, oneshot, and threadpool

Affects env::config, starlane::server

cli server = parse

Enables clap, text_io, and walkdir

Affects starlane::cli, starlane::main

hypererr hyperlane? hyperspace?
hyperspace driver? server = hypererr, parse

Enables dashmap ^5.3.4, futures, semver, and zip ^0.6.2

futures:

hyper requirements

hyperlane hyperlane-quic? hyperlane-tcp? server = hypererr
hyperlane-tcp server = hyperlane, rustls

Enables rcgen, tls-api-rustls ^0.9.0, and tokio-rustls

hyperlane-quic = hyperlane, rustls

Enables quinn and rcgen

postgres postgres-embedded? server

Enables async-recursion, serde, and sqlx

sqlx:

postgres deps

Affects server::PostgresLookups

postgres-embedded server = postgres

Enables postgresql_embedded

parse cli? hyperspace?

Enables nom, nom-supreme, and nom_locate

rustls hyperlane-quic? hyperlane-tcp? = rustls-pemfile

Enables rcgen and rustls

driver = hyperspace
dialect dialect-cli?
dialect-cli = dialect

Enables clap

service server
space server

Enables ariadne ^0.1.5, convert_case ^0.5.0, enum-ordinalize ^3.1.11, regex, serde_json, serde_urlencoded, and validator ^0.15.0

wasm

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.

rustls-pemfile rustls?