No description
Find a file
Marcel Enguehard 68a9088ec4 Add Euros money type backed by integer cents
Store amounts as i64 cents rather than a Decimal, so the "scale is 2"
invariant is structural instead of maintained by hand. Both accessors are
total: as_cents is a field read, as_decimal derives the Decimal on demand.
i64 rather than u64 because differences between amounts can be negative.

Add rust_decimal, verified to build for wasm32-unknown-unknown with default
features. Allow clippy::inconsistent_digit_grouping in immo-core so cent
literals can be grouped as euros-then-cents.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-30 11:22:41 +02:00
crates Add Euros money type backed by integer cents 2026-07-30 11:22:41 +02:00
.gitignore Set up cargo workspace backbone 2026-07-29 20:30:55 +02:00
Cargo.lock Add Euros money type backed by integer cents 2026-07-30 11:22:41 +02:00
Cargo.toml Set up cargo workspace backbone 2026-07-29 20:30:55 +02:00
CLAUDE.md Set up cargo workspace backbone 2026-07-29 20:30:55 +02:00
rust-toolchain.toml Set up cargo workspace backbone 2026-07-29 20:30:55 +02:00