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 whenever centaurs is added without default-features = false somewhere in the dependency tree.

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

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