crates/monetize-box-watcher/Cargo.toml
[package]
name = "monetize-box-watcher"
description = "BOX-START part 3: a thin watcher OUTSIDE UpCloud (systemd --user on dwarf) that reads only the ONE boxes' state through the UpCloud API and starts a stopped ONE box; the ONE box then starts the estates (the guardian's start pass). Dry-run by default."
version.workspace = true
edition.workspace = true
rust-version.workspace = true
repository.workspace = true
license.workspace = true
publish.workspace = true
[[bin]]
name = "monetize-box-watcher"
path = "src/main.rs"
[dependencies]
serde.workspace = true
serde_json.workspace = true
toml = "1"
# HTTPS to api.upcloud.com: rustls over ring and the Mozilla roots, no C crypto, no native TLS.
reqwest = { version = "0.13", default-features = false, features = ["rustls-no-provider", "blocking", "json"] }
rustls = { version = "0.23", default-features = false, features = ["ring", "std"] }
webpki-root-certs = "1"
[dev-dependencies]
# Proven against the UpCloud API 1.3 as mock-upcloud serves it on loopback, never the account.
mock-upcloud = { path = "../mock-upcloud" }
tokio.workspace = true