[[bin]]
name = "sylvia-iot-broker"
path = "src/bin/sylvia-iot-broker.rs"
[dependencies.async-stream]
version = "0.3.6"
[dependencies.async-trait]
version = "0.1.85"
[dependencies.axum]
version = "0.8.1"
[dependencies.axum-prometheus]
version = "0.8.0"
[dependencies.axum-server]
features = ["tls-rustls"]
version = "0.7.1"
[dependencies.bson]
features = ["chrono-0_4"]
version = "2.13.0"
[dependencies.chrono]
default-features = false
features = ["serde"]
version = "0.4.39"
[dependencies.clap]
default-features = false
features = ["std", "help", "usage", "error-context"]
version = "4.5.26"
[dependencies.futures]
version = "0.3.31"
[dependencies.general-mq]
version = "0.2.0"
[dependencies.hex]
version = "0.4.3"
[dependencies.json5]
version = "0.4.1"
[dependencies.log]
version = "0.4.22"
[dependencies.lru]
version = "0.12.5"
[dependencies.mongodb]
version = "3.1.1"
[dependencies.reqwest]
default-features = false
features = ["json", "rustls-tls"]
version = "0.12.12"
[dependencies.rustls]
version = "0.23.21"
[dependencies.serde]
features = ["derive"]
version = "1.0.217"
[dependencies.serde_json]
version = "1.0.135"
[dependencies.sql-builder]
version = "3.1.1"
[dependencies.sqlx]
default-features = false
features = ["macros", "runtime-tokio", "sqlite"]
version = "0.8.3"
[dependencies.sylvia-iot-corelib]
version = "0.2.0"
[dependencies.tokio]
features = ["io-util", "macros", "rt-multi-thread", "sync", "time"]
version = "1.43.0"
[dependencies.tower]
version = "0.5.2"
[dependencies.tower-http]
default-features = false
features = ["cors", "fs", "normalize-path", "timeout"]
version = "0.6.2"
[dependencies.url]
version = "2.5.4"
[dev-dependencies.axum-test]
version = "17.0.1"
[dev-dependencies.laboratory]
version = "2.0.0"
[dev-dependencies.serde_urlencoded]
version = "0.7.1"
[dev-dependencies.sylvia-iot-auth]
version = "0.2.0"
[lib]
name = "sylvia_iot_broker"
path = "src/lib.rs"
[package]
authors = ["Chien-Hong Chan"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["web-programming::http-server"]
description = "The message broker module of the Sylvia-IoT platform."
edition = "2021"
keywords = ["iot"]
license = "MIT"
name = "sylvia-iot-broker"
readme = "README.md"
repository = "https://github.com/woofdogtw/sylvia-iot-core.git"
resolver = "1"
rust-version = "1.75"
version = "0.2.0"
[profile.release]
codegen-units = 1
lto = true
strip = true
[profile.test]
incremental = true
[[test]]
name = "integration_test"
path = "tests/integration_test.rs"