Cargo Features

starfish-sdk has no features set by default.

[dependencies]
starfish-sdk = { version = "1.0.0", features = ["config", "database", "web", "redis", "uuid", "encrypt", "mongo", "influx"] }
config

Enables config

Affects config::init

database

Enables sea-orm ^0.12.14

Affects config::DatabaseConfig, starfish-sdk::database

web

Enables axum and tower-http ^0.5.0

Affects config::WebConfig, starfish-sdk::web

redis

Enables bb8-redis ^0.15.0

Affects config::RedisConfig, starfish-sdk::redis

uuid

Enables snowflaked

Affects starfish-sdk::uuid

encrypt

Enables ring

Affects starfish-sdk::encrypt

mongo

Enables mongodb ^2.8.1

Affects config::MongoConfig, starfish-sdk::mongo

influx

Enables influxdb2

Affects config::InfluxConfig, starfish-sdk::influx