# 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.56"
name = "url"
version = "2.5.0"
authors = ["The rust-url developers"]
include = [
    "src/**/*",
    "LICENSE-*",
    "README.md",
    "tests/**",
]
description = "URL library for Rust, based on the WHATWG URL Standard"
documentation = "https://docs.rs/url"
readme = "README.md"
keywords = [
    "url",
    "parser",
]
categories = [
    "parser-implementations",
    "web-programming",
    "encoding",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/servo/rust-url"

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

[package.metadata.playground]
features = ["serde"]

[[test]]
name = "url_wpt"
path = "tests/wpt.rs"
harness = false

[[bench]]
name = "parse_url"
path = "benches/parse_url.rs"
harness = false

[dependencies.form_urlencoded]
version = "1.2.1"

[dependencies.idna]
version = "0.5.0"

[dependencies.percent-encoding]
version = "2.3.1"

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

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

[dev-dependencies.serde]
version = "1.0"
features = ["derive"]

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

[features]
debugger_visualizer = []
default = []
expose_internals = []
