Registry / utility / phonenumber

phonenumber

JSON →
library0.3.9+9.0.21rscratesunverified

Library for parsing, formatting and validating international phone numbers.

# Cargo.toml [dependencies] phonenumber = "0.3.9+9.0.21"
INSTALL
IMPORT
SIG · PHONENUMBER
P
phonenumber
utilityrustv0.3.9+9.0.21
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PhoneNumber
use phonenumber::PhoneNumber;

Parse an international phone number.

use phonenumber::PhoneNumber; fn main() { let number: PhoneNumber = "+14155552671".parse().unwrap(); println!("Parsed phone number: {:?}", number); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.9+9.0.21latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
phonenumber — cargo add phonenumber · libregistry