Gunnar

nordisk/monetize

crates/monetize-product/Cargo.toml

[package]
name = "monetize-product"
description = "The product plugin trait for monetize: how a metered product reports Usage and receives an Entitlement. Types and one trait, serde only — no ledger, no vendor, no network."
# 0.1.0: first publish (2026-09-09). One of exactly TWO crates in this workspace
# that go to crates.io, and it is here because of the OTHER one: `monetize-embed`
# is compiled INTO a product (gunnar's server links it behind `metered`), and a
# published crate may not carry a `path` dependency on an unpublished one. This
# is that dependency. Everything else in this workspace — the ledger, the vendor
# adapters, the server, the console — stays `publish = false`.
# 0.1.4 (2026-09-26): its own number, ahead of the workspace's 0.1.3 — the
# registry's 0.1.3 predates the factory seam, Backing::Units and the restore /
# twin / metered-door types that `monetize-product-guest` compiles against, and
# that guest crate is what gunnar's own plugin (gunnar-monetize-guest) takes
# from the registry so gunnar builds from ONE clone.
# 0.1.5 (2026-10-25, T13): published first so monetize-product-guest 0.2.0 verifies against it
# (crates.io 0.1.4 has no `guardian` module and no `TestAction`, which the SDK names).
# 0.3.0 (2026-10-26, A3): ONE crates.io line with the workspace (monetize-embed, -proto,
# -estate-side, -mail, -product-guest), above crates.io's 0.2.0 (the old API of 2026-10-04), so
# a consumer's `^0.2` and this tree can no longer disagree (A28 H20). xtask
# tests/the_published_line.rs holds it.
version.workspace = true
edition.workspace = true
rust-version.workspace = true
# NOT the workspace value. The workspace names the private GitHub mirror; this
# crate is on crates.io, so it points at the tree anyone can actually read: the
# monetize repository as the gunnar console serves it. Same URL shape the console
# routes (`/repo/:namespace/:name`).
repository = "https://git.gunnar.rs/nordisk/monetize"
license.workspace = true
authors.workspace = true
# Overrides the workspace's `publish = false`. See the version note above.
publish = true

[dependencies]
serde.workspace = true