[dependencies]
yansongda-utils = { version = "~1.0.0", features = ["phone"] }
use yansongda_utils::phone;
// 是否是手机号码
assert!(phone::is_mobile("13800138000"));
// 是否是固定电话
assert!(phone::is_telephone("01012345678"));
// 是否是服务号码
assert!(phone::is_service("12345678"));
// 是否是长途
assert!(phone::is_idd("0012345678"));