rlibphonenumber 1.1.4

A high-performance Rust port of Google's libphonenumber for parsing, formatting, and validating international phone numbers.
Documentation
1
2
3
4
5
6
7
8
#[cfg(feature = "regex")]
pub use regex::{Error, Match, Regex};

#[cfg(all(feature = "lite", not(feature = "regex")))]
pub use regex_lite::{Error, Match, Regex};

#[cfg(not(any(feature = "regex", feature = "lite")))]
compile_error!("libphonenumber: You must enable either the 'regex' or 'lite' feature.");