No description
Find a file
Marcel Enguehard 91f96e7b57 Add LoanOffer with validating constructor
LoanOffer::new is the only way in: fields are private and the constructor
rejects a negative rate, a zero duration, and a non-positive capital. A zero
rate is accepted on purpose — the PTZ (prêt à taux zéro) is a real French
instrument.

Add thiserror for the typed error, as required for immo-core. Rate and
duration take no upper bound for now.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-30 15:09:49 +02:00
crates Add LoanOffer with validating constructor 2026-07-30 15:09:49 +02:00
.gitignore Set up cargo workspace backbone 2026-07-29 20:30:55 +02:00
Cargo.lock Add LoanOffer with validating constructor 2026-07-30 15:09:49 +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