Cargo Features

[dependencies]
richat-shared = { version = "3.3.0", default-features = false, features = ["config", "five8", "jsonrpc", "metrics", "shutdown", "transports", "version"] }
default = config, five8, jsonrpc, 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-linux, base64, bs58, rcgen, rustls, rustls-pemfile, serde, solana-sdk, thiserror, and tokio

Affects richat-shared::config

five8 default config

Enables five8 and solana-sdk

Affects richat-shared::five8

jsonrpc default = metrics

Enables anyhow, futures, jsonrpc-core, jsonrpsee-types ^0.24.8, metrics, quanta, serde, serde_json, and solana-rpc-client-api

Affects richat-shared::jsonrpc

metrics default jsonrpc = config

Enables http, http-body-util, hyper, hyper-util, 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 ^0.12.3, tonic-build ^0.12.3, and tracing

Affects richat-shared::transports

version default transports

Enables hostname, serde, and serde_json

Affects richat-shared::version