Cargo Features
[dependencies]
spacegate-config = { version = "0.2.0-alpha.2", default-features = false, features = ["full", "axum", "fs", "redis", "k8s"] }
- default = fs
-
The
fs
feature is set by default wheneverspacegate-config
is added without
somewhere in the dependency tree.default-features = false - full = fs, k8s, redis
- axum
-
Enables ext-axum of spacegate-model
- fs default full? = notify
-
Affects
service::fs
… - redis full? = deadpool-redis, lru
-
Enables redis ^0.24
Affects
service::redis
… - k8s full? = k8s-gateway-api, k8s-openapi, kube, rand, schemars
-
Enables ext-k8s of spacegate-model
Affects
service::k8s
…
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.
- kube k8s?
-
Enables kube ^0.85
- k8s-openapi k8s?
-
Enables k8s-openapi ^0.19
- k8s-gateway-api k8s?
-
Enables k8s-gateway-api ^0.13
- schemars k8s?
- notify fs
-
Enables notify ^6.1.1
- deadpool-redis redis?
-
Enables deadpool-redis ^0.14
- lru redis?
- rand k8s?