Cargo Features
[dependencies]
dsh_sdk = { version = "0.4.10", default-features = false, features = ["bootstrap", "metrics", "dlq", "graceful_shutdown", "rdkafka-ssl-vendored", "rdkafka-ssl", "rest-token-fetcher", "mqtt-token-fetcher"] }
- default = bootstrap, graceful_shutdown, metrics, rdkafka-ssl
-
These default features are set whenever
dsh_sdk
is added without
somewhere in the dependency tree.default-features = false - bootstrap default dlq? = rcgen, reqwest, serde_json
-
Enables rt-multi-thread of tokio
Affects
dsh_sdk::dsh
… - metrics default = bytes, http-body-util, hyper, hyper-util, lazy_static, prometheus, tokio
-
Affects
dsh_sdk::metrics
… - dlq = bootstrap, graceful_shutdown, rdkafka-ssl, tokio
-
Affects
dsh_sdk::dlq
… - graceful_shutdown default dlq? = tokio, tokio-util
-
Affects
dsh_sdk::graceful_shutdown
… - rdkafka-ssl-vendored = rdkafka
-
Enables ssl-vendored of rdkafka
- rdkafka-ssl default dlq? = rdkafka
- rest-token-fetcher = reqwest
-
Affects
error::DshRestTokenError
… - mqtt-token-fetcher = base64, dashmap, reqwest, serde_json, sha2
-
Enables tokio
Affects
dsh_sdk::mqtt_token_fetcher
…
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.
- base64 mqtt-token-fetcher?
- bytes metrics
- dashmap mqtt-token-fetcher?
- http-body-util metrics
- hyper metrics
- hyper-util metrics
- lazy_static metrics
- prometheus metrics
- rcgen bootstrap
- reqwest bootstrap mqtt-token-fetcher? rest-token-fetcher?
- rdkafka rdkafka-ssl rdkafka-ssl-vendored?
- serde_json bootstrap mqtt-token-fetcher?
- sha2 mqtt-token-fetcher?
- tokio bootstrap dlq? graceful_shutdown metrics mqtt-token-fetcher?
- tokio-util graceful_shutdown