Skip to content

feat: add cep, uf, and municipio modules with full cross-platform bin… - #1

Merged
fullzer4 merged 3 commits into
mainfrom
feat/bindings-cep-uf-municipio
May 2, 2026
Merged

fullzer4 merged 3 commits into
mainfrom
feat/bindings-cep-uf-municipio

Conversation

@fullzer4

@fullzer4 fullzer4 commented May 1, 2026

Copy link
Copy Markdown
Owner

…dings

Add three new core modules (cep, cnpj, uf, municipio) and expose all five modules across all four binding targets (nodejs/napi, python/pyo3, wasm/wasm-bindgen, ffi-c).

Use repr(u8) on core enums (State, Region, PostalRegion) to enable efficient transmute-based conversions in bindings, eliminating repetitive match arms.

WASM and FFI-C use opaque MunicipioList wrappers for collection results due to framework limitations with Vec.

…dings

Add three new core modules (cep, cnpj, uf, municipio) and expose all
five modules across all four binding targets (nodejs/napi, python/pyo3,
wasm/wasm-bindgen, ffi-c).

Use repr(u8) on core enums (State, Region, PostalRegion) to enable
efficient transmute-based conversions in bindings, eliminating
repetitive match arms.

WASM and FFI-C use opaque MunicipioList wrappers for collection
results due to framework limitations with Vec<Struct>.
@fullzer4 fullzer4 self-assigned this May 1, 2026
@fullzer4
fullzer4 merged commit 2602b4f into main May 2, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant