jpostcode_rs 0.1.4

Japanese postal code lookup library in Rust, powered by jpostcode-data
Documentation
1
2
3
4
5
6
7
8
// src/error.rs
#[derive(Debug, thiserror::Error)]
pub enum JPostError {
    #[error("Invalid postal code format")]
    InvalidFormat,
    #[error("Address not found")]
    NotFound,
}