[package] name = "printnanny-nats" description = "Library of MQTT, API, and other services used by PrintNanny.ai" license = "AGPL-3.0-or-later" version = "0.33.0" authors = ["Leigh Johnson "] edition = "2021" rust-version = "1.63" repository = "https://github.com/bitsy-ai/printnanny-rs.git" [[bin]] name = "dbus-systemd-nats-adapter" [[bin]] name = "nats-cloud-publisher" [[bin]] name = "nats-cloud-worker" [[bin]] name = "nats-edge-worker" [features] default = [] systemd = [] [dependencies] anyhow = "1" async-nats = "0.18.0" async-process = "1.4.0" async-trait = "0.1.58" bytes = "1.2" chrono = "0.4.22" clap = { version = "3", features = ["derive", "cargo", "env", "wrap_help"] } env_logger = "0.9" futures = "0.3" futures-util = "0.3.25" # Common utilities and extension traits for the futures-rs library. git-version = "0.3" log = "0.4" nix = {version = "0.26.1", features = ["net"]} printnanny-api-client = "0.124.4" printnanny-dbus = { path = "../dbus", version = "^0.5"} printnanny-edge-db = { path = "../db", version = "^0.2"} printnanny-settings = { path = "../settings", version = "^0.6"} printnanny-services = {path = "../services", version = "^0.33.0"} serde = { version = "1", features = ["derive"] } serde_bytes = "0.11" serde_json = "1" serde_variant = "0.1.1" serde-reflection = "0.3.6" thiserror = "1" tokio = { version = "1.21", features = ["full", "rt-multi-thread", "rt"] } tokio-serde = { version="0.8", features = ["json"] } tokio-util = { version="0.7", features = ["codec"] } uuid = { version="1.1.2", features = ["v4"] } [dev-dependencies] test-log = "0.2" figment = { version = "0.10", features = ["env", "json", "toml", "test"] }