Decision Workspace
billing vs spacedb-meter vs tollgate-core
Side-by-side comparison of Rust crates
Invoice and usage-billing calculation engine. Fixed-point money, tiered / volume / block / capacity rate schedules, time-of-use bands, composable VAT and discount layers, tax-inclusive pricing, exact multi-recipient allocation, and self-validating documents whose totals, VAT breakdown and decimals satisfy EN 16931. Zero I/O. No async. No domain assumptions.
SpaceDB Layer 6 — metering & settlement: deterministic measurement of storage (bytes x time x replica_count), compute (fuel + invocations) and transit (bilaterally-corroborated served bytes), priced by a rate card and bounded by an agent budget. SpaceDB measures; the Settlement seam lets a host plug pricing + payout (e.g. MATA's maestro -> Iron Bank loop) underneath. Phase 1 SpaceDB Mission, M8.
Zero-I/O, clock-free domain layer for quota admission and accounting: cost tables, account snapshots, fenced local leases, and the reservation state machine.
Core Metrics
| billing | spacedb-meter | tollgate-core | |
|---|---|---|---|
| Health Score | 52 | 59 | 56 |
| Total Downloads | 2.4K | 1.7K | 589 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 61 | 22 | 43 |
| Releases | 16 | 6 | 7 |
| Last Updated | 36d ago | 41d ago | 9d ago |
| Age | 2m | 3m | 12d |
Health Breakdown
Technical Details
| billing | spacedb-meter | tollgate-core | |
|---|---|---|---|
| Version | 0.15.0 | 0.6.0 | 0.32.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 7 | 3 | 5 |
| Crate Size | 606KB | 12KB | 109KB |
| Features | 2 | 0 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | 1.85 | 1.95 | 1.89 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •spacedb-meter leads with a health score of 59/100, but none of the options score above 80.
- •billing has the most downloads (2.4K), suggesting wider adoption.