Cargo Features
[dependencies]
centaurs = { version = "0.3.0", default-features = false, features = ["full", "base62", "configuration", "cos", "datalink", "messaging", "nacos", "nacos-configuration", "nacos-servicediscovery", "servicediscovery", "serde", "serde_json", "serde_yaml"] }
- default = full
-
The
full
feature is set by default whenevercentaurs
is added without
somewhere in the dependency tree.default-features = false - full default = base62, configuration, cos, datalink, messaging, nacos, nacos-configuration, nacos-servicediscovery, servicediscovery
- base62 full
-
Enables lazy_static
Affects
centaurs::base62
… - configuration full nacos-configuration?
-
Enables async-trait
Affects
centaurs::configuration
… - cos full
-
Enables aws-config ^0.11.0, aws-endpoint ^0.11.0, aws-sdk-s3 ^0.11.0, and aws-types ^0.11.0
Affects
centaurs::cos
… - datalink full nacos?
-
Enables pnet_datalink ^0.29
Affects
centaurs::datalink
… - messaging full
-
Enables async-trait, futures, rdkafka ^0.28, tokio, and tracing
Affects
centaurs::messaging
… - nacos full nacos-configuration? nacos-servicediscovery? = datalink
-
Enables derive_builder ^0.11.2, nacos_rust_client ^0.2, and tracing
Affects
centaurs::nacos
… - nacos-configuration full = configuration, nacos
-
Affects
nacos::configuration
… - nacos-servicediscovery full = nacos, servicediscovery
-
Affects
nacos::servicediscovery
… - servicediscovery full nacos-servicediscovery?
-
Enables async-trait, derive_builder ^0.11.2, futures, lazy_static, and tracing
Affects
centaurs::servicediscovery
…
Features from optional dependencies
- serde implicit feature
-
Enables serde
serde:
A generic serialization/deserialization framework
- serde_json implicit feature
-
Enables serde_json
serde_json:
A JSON serialization file format
- serde_yaml implicit feature
-
Enables serde_yaml
serde_yaml:
YAML data format for Serde