libphonenumber: Parsing, formatting, and validating international phone numbers
This package provides bindings for the C++ version of the
libphonenumber library.
The bindings currently do not include AsYouTypeFormatter
and ShortNumberInfo
. The C++ library must be of version
>= 8.7.0.
The interface largely resembles that of the original unified C++, Java, and JavaScript version of the library, with some minor changes to make the interface more Haskell-like.
The provided functions are pure, under the assumption that we are the only user of the C++ library, i.e. that no one else has installed a global logger which could observe side-effects from library calls.
The underlying library internally uses UTF-8 encoded byte
strings. To avoid decoding overhead where it is unnecessary,
and to avoid a dependency on text
, we use ByteString
throughout the library instead of Data.Text.Text
.
Downloads
- libphonenumber-0.1.3.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.1.0.0, 0.1.1.0, 0.1.2.0, 0.1.3.0 |
---|---|
Dependencies | base (>=4.12 && <4.20), bytestring (>=0.10.8 && <0.13), containers (>=0.6.0 && <0.8), deepseq (>=1.4.4 && <1.6), system-cxx-std-lib, transformers (>=0.5.5 && <0.7) [details] |
Tested with | ghc ==8.6.5, ghc ==8.8.4, ghc ==8.10.7, ghc ==9.0.2, ghc ==9.2.8, ghc ==9.4.8, ghc ==9.6.3, ghc ==9.8.1 |
License | MIT |
Copyright | 2023 Typeable |
Author | Typeable |
Maintainer | mniip@typeable.io |
Category | Data |
Home page | https://github.com/typeable/libphonenumber/ |
Source repo | head: git clone https://github.com/typeable/libphonenumber/ |
Uploaded | by mniip at 2023-12-20T15:26:29Z |
Distributions | |
Downloads | 361 total (30 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |