| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2018" |
| 14 |
rust-version = "1.57" |
| 15 |
name = "idna" |
| 16 |
version = "1.0.3" |
| 17 |
authors = ["The rust-url developers"] |
| 18 |
build = false |
| 19 |
autobins = false |
| 20 |
autoexamples = false |
| 21 |
autotests = false |
| 22 |
autobenches = false |
| 23 |
description = "IDNA (Internationalizing Domain Names in Applications) and Punycode." |
| 24 |
readme = "README.md" |
| 25 |
keywords = [ |
| 26 |
"no_std", |
| 27 |
"web", |
| 28 |
"http", |
| 29 |
] |
| 30 |
license = "MIT OR Apache-2.0" |
| 31 |
repository = "https://github.com/servo/rust-url/" |
| 32 |
|
| 33 |
[package.metadata.docs.rs] |
| 34 |
rustdoc-args = ["--generate-link-to-definition"] |
| 35 |
|
| 36 |
[lib] |
| 37 |
name = "idna" |
| 38 |
path = "src/lib.rs" |
| 39 |
doctest = false |
| 40 |
|
| 41 |
[[test]] |
| 42 |
name = "tests" |
| 43 |
path = "tests/tests.rs" |
| 44 |
harness = false |
| 45 |
|
| 46 |
[[test]] |
| 47 |
name = "unit" |
| 48 |
path = "tests/unit.rs" |
| 49 |
|
| 50 |
[[test]] |
| 51 |
name = "unitbis" |
| 52 |
path = "tests/unitbis.rs" |
| 53 |
|
| 54 |
[[bench]] |
| 55 |
name = "all" |
| 56 |
path = "benches/all.rs" |
| 57 |
harness = false |
| 58 |
|
| 59 |
[dependencies.idna_adapter] |
| 60 |
version = "1" |
| 61 |
|
| 62 |
[dependencies.smallvec] |
| 63 |
version = "1.13.1" |
| 64 |
features = ["const_generics"] |
| 65 |
|
| 66 |
[dependencies.utf8_iter] |
| 67 |
version = "1.0.4" |
| 68 |
|
| 69 |
[dev-dependencies.assert_matches] |
| 70 |
version = "1.3" |
| 71 |
|
| 72 |
[dev-dependencies.bencher] |
| 73 |
version = "0.1" |
| 74 |
|
| 75 |
[dev-dependencies.serde_json] |
| 76 |
version = "1.0" |
| 77 |
|
| 78 |
[dev-dependencies.tester] |
| 79 |
version = "0.9" |
| 80 |
|
| 81 |
[features] |
| 82 |
alloc = [] |
| 83 |
compiled_data = ["idna_adapter/compiled_data"] |
| 84 |
default = [ |
| 85 |
"std", |
| 86 |
"compiled_data", |
| 87 |
] |
| 88 |
std = ["alloc"] |