Cargo Features
[dependencies]
ballista-scheduler = { version = "0.12.0", default-features = false, features = ["etcd", "flight-sql", "prometheus-metrics", "sled"] }
- default = etcd, flight-sql, sled
-
These default features are set whenever
ballista-scheduler
is added without
somewhere in the dependency tree.default-features = false - etcd default = etcd-client
-
Affects
storage::etcd
… - flight-sql default
-
Affects
ballista-scheduler::flight_sql
… - prometheus-metrics = once_cell, prometheus
- sled default = sled_package, tokio-stream
-
Affects
storage::sled
,ballista-scheduler::standalone
…
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.
- etcd-client etcd
-
Enables etcd-client ^0.12
- once_cell prometheus-metrics?
- prometheus prometheus-metrics?
-
Affects
metrics::prometheus
,metrics::default_metrics_collector
… - sled_package sled
-
Enables sled
- tokio-stream sled