# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2018"
rust-version = "1.51"
name = "idna"
version = "0.5.0"
authors = ["The rust-url developers"]
autotests = false
description = "IDNA (Internationalizing Domain Names in Applications) and Punycode."
categories = ["no_std"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/servo/rust-url/"

[package.metadata.docs.rs]
rustdoc-args = ["--generate-link-to-definition"]

[lib]
doctest = false

[[test]]
name = "tests"
harness = false

[[test]]
name = "unit"

[[bench]]
name = "all"
harness = false

[dependencies.unicode-bidi]
version = "0.3.10"
features = ["hardcoded-data"]
default-features = false

[dependencies.unicode-normalization]
version = "0.1.22"
default-features = false

[dev-dependencies.assert_matches]
version = "1.3"

[dev-dependencies.bencher]
version = "0.1"

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.tester]
version = "0.9"

[features]
alloc = []
default = ["std"]
std = [
    "alloc",
    "unicode-bidi/std",
    "unicode-normalization/std",
]
