[package] name = "sylvia-iot-data" version = "0.1.15" authors = ["Chien-Hong Chan"] categories = ["web-programming::http-server"] description = "The data storage of Sylvia-IoT core modules." edition = "2021" keywords = ["iot"] license = "MIT" readme = "README.md" repository = "https://github.com/woofdogtw/sylvia-iot-core.git" rust-version = "1.75" [dependencies] async-stream = "0.3.5" async-trait = "0.1.83" axum = "0.7.6" axum-prometheus = "0.7.0" axum-server = { version = "0.7.1", features = ["tls-rustls"] } bson = { version = "2.13.0", features = ["chrono-0_4"] } chrono = { version = "0.4.38", default-features = false, features = ["serde"] } clap = { version = "4.5.18", default-features = false, features = [ "std", "help", "usage", "error-context", ] } csv = "1.3.0" futures = "0.3.30" general-mq = "0.1.15" json5 = "0.4.1" log = "0.4.22" mongodb = "3.1.0" reqwest = { version = "0.12.7", default-features = false, features = [ "json", "rustls-tls", ] } rustls = "0.23.13" serde = { version = "1.0.210", features = ["derive"] } serde_json = "1.0.128" sql-builder = "3.1.1" sqlx = { version = "0.8.2", default-features = false, features = [ "macros", "runtime-tokio", "sqlite", ] } sylvia-iot-auth = "0.1.15" sylvia-iot-broker = "0.1.15" sylvia-iot-corelib = "0.1.15" sylvia-iot-coremgr = "0.1.15" tokio = { version = "1.40.0", features = [ "io-util", "macros", "rt-multi-thread", "time", ] } tower = "0.5.1" tower-http = { version = "0.6.1", default-features = false, features = [ "cors", "fs", "normalize-path", "timeout", ] } url = "2.5.2" [dev-dependencies] axum-test = "16.0.0" laboratory = "2.0.0" serde_urlencoded = "0.7.1" [profile.release] codegen-units = 1 lto = true strip = true [profile.test] incremental = true