3 releases
0.1.1 | Feb 17, 2022 |
---|---|
0.1.0 | Feb 17, 2022 |
#181 in Geospatial
Used in 2 crates
(via libpostal-rust)
40MB
609K
SLoC
Contains (autotools obfuscated code, 475KB) libpostal/configure, (obscure autoconf code, 4KB) libpostal/configure.ac, (obscure autoconf code, 4KB) libpostal/windows/configure.ac
libpostal-sys
Low-level Rust bindings for the excellent address-parsing library libpostal. Several other Rust wrappers for this library exist. This one includes the following features, which may or may not be available elsewhere:
- Bundled
libpostal
source code. - Support for building static Rust binaries.
- Support for thread-safe initialization of
libpostal
, using provided global locks. - Packing as a low-level
libpostal-sys
crate that can be shared between one or more high-level crates, as per standard Rust conventions. - Support from cross-compiling from
x86_64
Macs toaarch64
(Apple Silicon).
Development notes
# Check out libpostal source code as a git submodule.
git submodule update --init
# Update our Rust API bindings manually.
bindgen wrapper.h -o src/bindings.rs