# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "starfish-sdk" version = "1.0.0" authors = ["husky "] exclude = [".vscode"] description = "海星SDK" homepage = "https://github.com/StarfishGroup/starfish-sdk" readme = "README.md" license = "MIT" repository = "https://github.com/StarfishGroup/starfish-sdk" [dependencies.anyhow] version = "1.0.75" features = ["backtrace"] [dependencies.async-trait] version = "0.1.77" [dependencies.axum] version = "0.7.2" optional = true [dependencies.base64] version = "0.22.0" [dependencies.bb8-redis] version = "0.15.0" optional = true [dependencies.chrono] version = "0.4.34" features = ["serde"] [dependencies.config] version = "0.14.0" optional = true [dependencies.futures] version = "0.3.30" [dependencies.influxdb2] version = "0.5.0" features = ["rustls"] optional = true default-features = false [dependencies.mongodb] version = "2.8.1" features = [ "bson-chrono-0_4", "bson-serde_with", ] optional = true [dependencies.num_cpus] version = "1.16.0" [dependencies.reqwest] version = "0.11.22" features = [ "rustls-tls", "json", ] default-features = false [dependencies.ring] version = "0.17.8" optional = true [dependencies.rust_decimal] version = "1.34" [dependencies.rust_decimal_macros] version = "1.34" [dependencies.sea-orm] version = "0.12.14" features = [ "sqlx-all", "runtime-tokio-rustls", ] optional = true [dependencies.serde] version = "1.0.197" features = ["derive"] [dependencies.serde_json] version = "1.0.114" [dependencies.serde_urlencoded] version = "0.7" [dependencies.serde_with] version = "3.6.1" [dependencies.snowflaked] version = "1.0.2" features = ["sync"] optional = true [dependencies.strum] version = "0.26.1" features = ["derive"] [dependencies.tokio] version = "1.36.0" features = ["full"] [dependencies.tower-http] version = "0.5.0" features = ["trace"] optional = true [dependencies.tracing] version = "0.1.40" [dependencies.tracing-appender] version = "0.2.3" [dependencies.tracing-subscriber] version = "0.3.18" [features] config = ["dep:config"] database = ["dep:sea-orm"] default = [] encrypt = ["dep:ring"] influx = ["dep:influxdb2"] mongo = ["dep:mongodb"] redis = ["dep:bb8-redis"] uuid = ["dep:snowflaked"] web = [ "dep:axum", "dep:tower-http", ]