should-i-rent/crates
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
..
immo-core Add LoanOffer with validating constructor 2026-07-30 15:09:49 +02:00
immo-web Set up cargo workspace backbone 2026-07-29 20:30:55 +02:00