1 | [package] |
2 | name = "idna" |
3 | version = "0.5.0" |
4 | authors = ["The rust-url developers" ] |
5 | description = "IDNA (Internationalizing Domain Names in Applications) and Punycode." |
6 | categories = ["no_std" ] |
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.51" |
12 | |
13 | [lib] |
14 | doctest = false |
15 | |
16 | [features] |
17 | default = ["std" ] |
18 | std = ["alloc" , "unicode-bidi/std" , "unicode-normalization/std" ] |
19 | alloc = [] |
20 | |
21 | [[test]] |
22 | name = "tests" |
23 | harness = false |
24 | |
25 | [[test]] |
26 | name = "unit" |
27 | |
28 | [dev-dependencies] |
29 | assert_matches = "1.3" |
30 | bencher = "0.1" |
31 | tester = "0.9" |
32 | serde_json = "1.0" |
33 | |
34 | [dependencies] |
35 | unicode-bidi = { version = "0.3.10" , default-features = false, features = ["hardcoded-data" ] } |
36 | unicode-normalization = { version = "0.1.22" , default-features = false } |
37 | |
38 | [[bench]] |
39 | name = "all" |
40 | harness = false |
41 | |
42 | [package.metadata.docs.rs] |
43 | rustdoc-args = ["--generate-link-to-definition" ] |
44 | |