Gunnar

nordisk/monetize

crates/monetize-fast/Cargo.toml

[package]
name = "monetize-fast"
version = "0.1.0"
edition = "2021"
rust-version = "1.89"
license = "AGPL-3.0-only"
publish = false
description = "The fast test (monetize v2.0 P1, A24 §8.2): a product's estate on monetize's real code in containers, in minutes, not the 45-minute KVM gate. The library each product's `cargo xtask fast` calls; one receipt in the echo bench's shape."

# Its OWN workspace (A28 M1, T14: xtask/tests/detached_locks.rs): the kit build runs cargo through
# nornir-xtask-support's `ci::Container`, which reaches rustls on aws-lc-rs (nornir-git: gix,
# reqwest). As a root member that would unify with the server's ring, xtask's own reason.
[workspace]

[dependencies]
mock-upcloud = { path = "../mock-upcloud" }
monetize-server = { path = "../monetize-server", features = ["custody-ring"] }
monetize-shop-pairing = { path = "../monetize-shop-pairing" }
monetize-proto = { path = "../monetize-proto" }
# The grants vocabulary: a guest's imports read as the ONE box's gate reads them.
monetize-product-guest = { path = "../monetize-product-guest" }
guest-host = { path = "../../../edda/crates/guest-host", features = ["wasmtime", "verify-modules"] }
tonic = "0.14"
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }
serde_json = "1"
sha2 = "0.11"
getrandom = "0.3"
# The kit build runs cargo in the toolchain container (the shared `ci::Container`).
nornir-xtask-support = "0.1.3"

[[bin]]
name = "monetize-fast"
path = "src/bin/monetize-fast.rs"

[dev-dependencies]
# The tests take monetize-server's test doubles (feature `testing`, A28 M15).
monetize-server = { path = "../monetize-server", features = ["testing"] }
# The cross-crate test lays a product the fast test never heard of (its plan type).
monetize-cloud = { path = "../monetize-cloud" }