Skip to main content

Module export

Module export 

Source
Expand description

Serializes crate::TIERS for the website’s pricing page.

The pricing page renders whatever this produces, so a published price or limit cannot disagree with what the server enforces. Written by cargo run subscription export and committed; CI re-runs it with --check.

Structs§

BudgetExamples
What a tier’s daily budget buys, in whole requests of one kind.
Export
The whole pricing table, as written to the website.
ExportedTier
One tier as the pricing page consumes it: the enforced limits, plus the derived figures and prose the page would otherwise have to compute itself.

Functions§

build
Builds the export from TIERS.