Docs.rs
paygress-cli-0.1.9
paygress-cli 0.1.9
Docs.rs crate page
Apache-2.0
Links
Homepage
Documentation
Repository
crates.io
Source
Owners
DhananjayPurohit
Rits1272
Dependencies
anyhow ^1.0
normal
async-trait ^0.1
normal
axum ^0.7
normal
base64 ^0.22
normal
cdk ^0.14
normal
cdk-redb ^0.14
normal
chacha20poly1305 ^0.10
normal
chrono ^0.4
normal
clap ^4
normal
colored ^2
normal
dotenv ^0.15
normal
futures ^0.3
normal
futures-util ^0.3
normal
hex ^0.4
normal
indicatif ^0.17
normal
k8s-openapi ^0.22
normal
optional
kube ^0.93
normal
optional
nostr-sdk ^0.43
normal
num_cpus ^1.0
normal
rand ^0.8
normal
reqwest ^0.11
normal
rmcp ^0.2.1
normal
schemars ^0.8
normal
serde ^1.0
normal
serde_json ^1.0.143
normal
serde_urlencoded ^0.7
normal
sha2 ^0.10
normal
thiserror ^1
normal
tokio ^1.0
normal
tracing ^0.1
normal
tracing-subscriber ^0.3
normal
uuid ^1.0
normal
base64 ^0.22
dev
proptest ^1
dev
tempfile ^3
dev
tokio-test ^0.4
dev
wiremock ^0.5
dev
Versions
41.98%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Module durable_workload
paygress
0.1.9
Module durable_
workload
Module Items
Structs
Enums
In crate paygress
paygress
Module
durable_
workload
Copy item path
Source
Structs
§
Durable
Workload
One workload as tracked by a provider.
Heartbeat
Observation
A heartbeat the provider received from the relay pool.
Quorum
Config
Operator-tunable timing + quorum knobs.
Workload
State
Machine
The state machine. Holds a map of tracked workloads keyed by
workload_id
. Drives transitions on each
tick
.
Enums
§
Replication
Mode
Replication / availability mode chosen by the consumer at spawn.
Restart
Policy
What to do when a workload exits unexpectedly.
State
Machine
Event
Side-effects the state machine asks the controller to perform. The state machine never does I/O — it returns events and the caller (typically
ProviderService::run
’s fourth concurrent loop) translates them into Nostr publishes / backend respawns.
Workload
State
Lifecycle state for a workload tracked by a single provider.