1[package]
2name = "idna"
3version = "1.0.3"
4authors = ["The rust-url developers"]
5description = "IDNA (Internationalizing Domain Names in Applications) and Punycode."
6keywords = ["no_std", "web", "http"]
7repository = "https://github.com/servo/rust-url/"
8license = "MIT OR Apache-2.0"
9autotests = false
10edition = "2018"
11rust-version = "1.57" # For panic in const context
12
13[lib]
14doctest = false
15
16[features]
17default = ["std", "compiled_data"]
18std = ["alloc"]
19alloc = []
20compiled_data = ["idna_adapter/compiled_data"]
21
22[[test]]
23name = "tests"
24harness = false
25
26[[test]]
27name = "unit"
28
29[[test]]
30name = "unitbis"
31
32[dev-dependencies]
33assert_matches = "1.3"
34bencher = "0.1"
35tester = "0.9"
36serde_json = "1.0"
37
38[dependencies]
39utf8_iter = "1.0.4"
40smallvec = { version = "1.13.1", features = ["const_generics"]}
41idna_adapter = "1"
42
43[[bench]]
44name = "all"
45harness = false
46
47[package.metadata.docs.rs]
48rustdoc-args = ["--generate-link-to-definition"]
49