Cargo Features
[dependencies]
sos-server = { version = "0.16.0", default-features = false, features = ["prometheus", "acme", "listen", "pairing", "audit"] }
- default = acme, audit, listen, pairing
-
These default features are set whenever
sos-server
is added without
somewhere in the dependency tree.default-features = false - prometheus = axum-prometheus
- acme default
-
Enables tokio-rustls-acme ^0.4
Affects
config::AcmeConfig
… - listen default
-
Enables listen of sos-protocol
- pairing default
-
Enables pairing of sos-protocol
- audit default
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.