Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/swarmctl/Cargo.toml
atlas 71d360c9d2 swarmctl: agent set-state declares an agent's wanted state
Wraps PUT /api/hives/{hive}/agents/{agent}/state, the route the swarm UI's
state menu uses. States come from swarm_wire::wanted::AgentState; destroyed
needs --yes.

Closes #6159
2026-11-07 07:58:30 +01:00

45 lines
1.3 KiB
TOML

[package]
name = "swarmctl"
version.workspace = true
readme = "README.md"
edition.workspace = true
[[bin]]
name = "swarmctl"
path = "src/main.rs"
[dependencies]
anyhow.workspace = true
# PKCE verifier, state and S256 challenge for `swarmctl login`.
base64.workspace = true
chrono.workspace = true
# `agent create` — bare HTTP/1.1 client over swarm-controller's unix
# socket. No new workspace dependency: `bytes`, `http-body-util`,
# `hyper` and `hyper-util` are all already pinned in the root manifest.
bytes = "1"
clap.workspace = true
clap-markdown = "0.1"
clap_complete.workspace = true
getrandom.workspace = true
hive-types.workspace = true
http-body-util.workspace = true
# `server`: the loopback listener `swarmctl login` receives its code on.
hyper = { workspace = true, features = ["server"] }
hyper-util.workspace = true
# HTTPS to the swarm domain and its SSO provider, for `--swarm`.
reqwest.workspace = true
# `flock` on the login cache, which a refresh must not race.
rustix.workspace = true
serde.workspace = true
serde_json.workspace = true
serde_norway = "0.9.42"
sha2.workspace = true
# The request and response bodies, shared with swarm-controller.
swarm-controller-api.workspace = true
# `AgentState`, the values `agent set-state` takes.
swarm-wire.workspace = true
tokio.workspace = true
url.workspace = true
[lints]
workspace = true