Cargo Features

starfish-common has no features set by default.

[dependencies]
starfish-common = { version = "1.3.0", features = ["env", "database", "crypto", "log", "http", "uuid", "chrono", "web", "decimal"] }
env

Enables config

Affects starfish-common::env

database = chrono, decimal

Enables log and sea-orm

Affects starfish-common::database

crypto

Enables base64 and ring

Affects starfish-common::crypto

log = chrono

Enables tracing, tracing-appender, and tracing-subscriber

Affects starfish-common::log

http

Enables reqwest

Affects starfish-common::http

uuid

Enables snowflaked

snowflake

Affects starfish-common::uuid

chrono database? log?

Enables chrono

web

Enables actix-web

decimal database?

Enables rust_decimal