Cargo Features
[dependencies]
starlane = { version = "0.3.19", 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", "ariadne", "regex", "serde_json", "serde_urlencoded", "enum-ordinalize", "convert_case", "validator"] }
- 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
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
Affects
starlane::hyperspace
,starlane::hyperspace
… - hyperlane hyperlane-quic? hyperlane-tcp? server = hypererr
-
Affects
starlane::hyperlane
,starlane::hyperlane
… - hyperlane-tcp server = hyperlane, rustls
-
Enables rcgen, tls-api-rustls, and tokio-rustls
Affects
hyperlane::tcp
… - hyperlane-quic = hyperlane, rustls
-
Affects
hyperlane::quic
… - postgres postgres-embedded? server
-
Enables async-recursion, serde, sqlx, and tracing
sqlx:
postgres deps
Affects
env::STARLANE_REGISTRY_URL
,env::STARLANE_REGISTRY_USER
,env::STARLANE_REGISTRY_PASSWORD
,env::STARLANE_REGISTRY_DATABASE
,env::STARLANE_REGISTRY_SCHEMA
,registry::postgres
,server::PgRegistryConfig
,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
-
Affects
starlane::service
,starlane::service
… - space server
-
Affects
starlane::space
,starlane::space
… - 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?
- ariadne implicit feature
-
Enables ariadne ^0.1.5
ariadne:
A fancy diagnostics & reporting crate
- regex implicit feature
- serde_json implicit feature
-
Enables serde_json
serde_json:
A JSON serialization file format
- serde_urlencoded implicit feature
-
Enables serde_urlencoded
serde_urlencoded:
x-www-form-urlencoded
meets Serde - enum-ordinalize implicit feature
-
Enables enum-ordinalize ^3.1.11
- convert_case implicit feature
-
Enables convert_case ^0.5.0
convert_case:
Convert strings into any case
- validator implicit feature
-
Enables validator ^0.15.0