1[package]
2
3name = "url"
4# When updating version, also modify html_root_url in the lib.rs
5version = "2.5.0"
6authors = ["The rust-url developers"]
7
8description = "URL library for Rust, based on the WHATWG URL Standard"
9documentation = "https://docs.rs/url"
10repository = "https://github.com/servo/rust-url"
11readme = "../README.md"
12keywords = ["url", "parser"]
13categories = ["parser-implementations", "web-programming", "encoding"]
14license = "MIT OR Apache-2.0"
15include = ["src/**/*", "LICENSE-*", "README.md", "tests/**"]
16edition = "2018"
17rust-version = "1.56"
18
19[dev-dependencies]
20serde = { version = "1.0", features = ["derive"] }
21serde_json = "1.0"
22bencher = "0.1"
23
24[dependencies]
25form_urlencoded = { version = "1.2.1", path = "../form_urlencoded" }
26idna = { version = "0.5.0", path = "../idna" }
27percent-encoding = { version = "2.3.1", path = "../percent_encoding" }
28serde = { version = "1.0", optional = true, features = ["derive"] }
29
30[features]
31default = []
32# Enable to use the #[debugger_visualizer] attribute. This feature requires Rust >= 1.71.
33debugger_visualizer = []
34# Expose internal offsets of the URL.
35expose_internals = []
36
37[[test]]
38name = "url_wpt"
39path = "tests/wpt.rs"
40harness = false
41
42[[bench]]
43name = "parse_url"
44path = "benches/parse_url.rs"
45harness = false
46
47[package.metadata.docs.rs]
48features = ["serde"]
49rustdoc-args = ["--generate-link-to-definition"]
50
51[package.metadata.playground]
52features = ["serde"]
53