| 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.63" |
| 15 |
name = "url" |
| 16 |
version = "2.5.4" |
| 17 |
authors = ["The rust-url developers"] |
| 18 |
build = false |
| 19 |
include = [ |
| 20 |
"src/**/*", |
| 21 |
"LICENSE-*", |
| 22 |
"README.md", |
| 23 |
"tests/**", |
| 24 |
] |
| 25 |
autobins = false |
| 26 |
autoexamples = false |
| 27 |
autotests = false |
| 28 |
autobenches = false |
| 29 |
description = "URL library for Rust, based on the WHATWG URL Standard" |
| 30 |
documentation = "https://docs.rs/url" |
| 31 |
readme = "README.md" |
| 32 |
keywords = [ |
| 33 |
"url", |
| 34 |
"parser", |
| 35 |
] |
| 36 |
categories = [ |
| 37 |
"parser-implementations", |
| 38 |
"web-programming", |
| 39 |
"encoding", |
| 40 |
"no-std", |
| 41 |
] |
| 42 |
license = "MIT OR Apache-2.0" |
| 43 |
repository = "https://github.com/servo/rust-url" |
| 44 |
|
| 45 |
[package.metadata.docs.rs] |
| 46 |
features = ["serde"] |
| 47 |
rustdoc-args = ["--generate-link-to-definition"] |
| 48 |
|
| 49 |
[package.metadata.playground] |
| 50 |
features = ["serde"] |
| 51 |
|
| 52 |
[lib] |
| 53 |
name = "url" |
| 54 |
path = "src/lib.rs" |
| 55 |
|
| 56 |
[[test]] |
| 57 |
name = "unit" |
| 58 |
path = "tests/unit.rs" |
| 59 |
|
| 60 |
[[test]] |
| 61 |
name = "url_wpt" |
| 62 |
path = "tests/wpt.rs" |
| 63 |
harness = false |
| 64 |
|
| 65 |
[dependencies.form_urlencoded] |
| 66 |
version = "1.2.1" |
| 67 |
features = ["alloc"] |
| 68 |
default-features = false |
| 69 |
|
| 70 |
[dependencies.idna] |
| 71 |
version = "1.0.3" |
| 72 |
features = [ |
| 73 |
"alloc", |
| 74 |
"compiled_data", |
| 75 |
] |
| 76 |
default-features = false |
| 77 |
|
| 78 |
[dependencies.percent-encoding] |
| 79 |
version = "2.3.1" |
| 80 |
features = ["alloc"] |
| 81 |
default-features = false |
| 82 |
|
| 83 |
[dependencies.serde] |
| 84 |
version = "1.0" |
| 85 |
features = ["derive"] |
| 86 |
optional = true |
| 87 |
|
| 88 |
[dev-dependencies.bencher] |
| 89 |
version = "0.1" |
| 90 |
|
| 91 |
[dev-dependencies.serde] |
| 92 |
version = "1.0" |
| 93 |
features = ["derive"] |
| 94 |
|
| 95 |
[dev-dependencies.serde_json] |
| 96 |
version = "1.0" |
| 97 |
|
| 98 |
[features] |
| 99 |
debugger_visualizer = [] |
| 100 |
default = ["std"] |
| 101 |
expose_internals = [] |
| 102 |
std = [ |
| 103 |
"idna/std", |
| 104 |
"percent-encoding/std", |
| 105 |
"form_urlencoded/std", |
| 106 |
] |
| 107 |
|
| 108 |
[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dev-dependencies.wasm-bindgen-test] |
| 109 |
version = "0.3" |