[package] name = "idna" version = "0.5.0" authors = ["The rust-url developers"] description = "IDNA (Internationalizing Domain Names in Applications) and Punycode." categories = ["no_std"] repository = "https://github.com/servo/rust-url/" license = "MIT OR Apache-2.0" autotests = false edition = "2018" rust-version = "1.51" [lib] doctest = false [features] default = ["std"] std = ["alloc", "unicode-bidi/std", "unicode-normalization/std"] alloc = [] [[test]] name = "tests" harness = false [[test]] name = "unit" [dev-dependencies] assert_matches = "1.3" bencher = "0.1" tester = "0.9" serde_json = "1.0" [dependencies] unicode-bidi = { version = "0.3.10", default-features = false, features = ["hardcoded-data"] } unicode-normalization = { version = "0.1.22", default-features = false } [[bench]] name = "all" harness = false [package.metadata.docs.rs] rustdoc-args = ["--generate-link-to-definition"]