Revision control
Copy as Markdown
Other Tools
# 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.63"
name = "url"
version = "2.5.4"
authors = ["The rust-url developers"]
build = false
include = [
"src/**/*",
"LICENSE-*",
"README.md",
"tests/**",
]
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "URL library for Rust, based on the WHATWG URL Standard"
readme = "README.md"
keywords = [
"url",
"parser",
]
categories = [
"parser-implementations",
"web-programming",
"encoding",
"no-std",
]
license = "MIT OR Apache-2.0"
[package.metadata.docs.rs]
features = ["serde"]
rustdoc-args = ["--generate-link-to-definition"]
[package.metadata.playground]
features = ["serde"]
[lib]
name = "url"
path = "src/lib.rs"
[[test]]
name = "unit"
path = "tests/unit.rs"
[[test]]
name = "url_wpt"
path = "tests/wpt.rs"
harness = false
[dependencies.form_urlencoded]
version = "1.2.1"
features = ["alloc"]
default-features = false
[dependencies.idna]
version = "1.0.3"
features = [
"alloc",
"compiled_data",
]
default-features = false
[dependencies.percent-encoding]
version = "2.3.1"
features = ["alloc"]
default-features = false
[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 = ["std"]
expose_internals = []
std = [
"idna/std",
"percent-encoding/std",
"form_urlencoded/std",
]
[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dev-dependencies.wasm-bindgen-test]
version = "0.3"