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