Cargo Features

[dependencies]
richat-shared = { version = "2.5.0", default-features = false, features = ["config", "five8", "metrics", "shutdown", "transports", "version"] }
default = config, five8, metrics, shutdown, transports, version

These default features are set whenever richat-shared is added without default-features = false somewhere in the dependency tree.

config default metrics transports = five8

Enables affinity, base64, bs58, rcgen, rustls, rustls-pemfile, serde, solana-sdk ~2.1.1, thiserror, and tokio

Affects richat-shared::config

five8 default config

Enables five8 and solana-sdk ~2.1.1

Affects richat-shared::five8

metrics default = config

Enables http, http-body-util, hyper, hyper-util, prometheus, and tracing

Affects richat-shared::metrics

shutdown default transports

Enables slab

Affects richat-shared::shutdown

transports default = config, shutdown, version

Enables anyhow, futures, humantime-serde, prost, protobuf-src ^1.1.0, quinn, richat-proto, socket2, tonic, tonic-build, and tracing

Affects richat-shared::transports

version default transports

Enables hostname, serde, and serde_json

Affects richat-shared::version