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 wheneverstarlane
is added without
somewhere in the dependency tree.default-features = false - 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
- 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
- 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.