16 lines · 471 B · Rust
RawDownload
pub mod db;mod token; use crate::Cents; pub use token::*; /// The maximum monthly spending an individual user can reach on the free tier/// before they have to pay.pub const FREE_TIER_MONTHLY_SPENDING_LIMIT: Cents = Cents::from_dollars(10); /// The default value to use for maximum spend per month if the user did not/// explicitly set a maximum spend.////// Used to prevent surprise bills.pub const DEFAULT_MAX_MONTHLY_SPEND: Cents = Cents::from_dollars(10);