summaryrefslogtreecommitdiffstats
path: root/Cargo.toml
Commit message (Collapse)AuthorAgeFilesLines
* Carry the municipality of a CEP that does not existHEADv0.2.0mainMurilo Ijanc2026-07-271-1/+1
| | | | | | | | | | | | | | | | | A 404 from the API now brings a "faixa" naming the municipality the CEP would have belonged to, and NotFound carries it. A CEP that fails is rarely a random number: it is usually someone who knows the city and guessed the digits, so naming the city turns a dead end into an answer the caller can show. It stays an error. The range it carries is the CEPs that actually exist there, not the bounds the Correios publish — those start at the very CEP that just failed — and it is sparse, which is what "ceps" measures. The field is decoration on a failure, so parsing it is entirely defensive: absent, null or malformed all yield None rather than costing a clean not-found. Breaking: NotFound gained a field, hence 0.2.0.
* Initial importv0.1.0Murilo Ijanc2026-07-261-0/+25