[package]
edition = "2024"
name = "ada-url"
version = "3.4.6"
authors = [
"Yagiz Nizipli <yagiz@nizipli.com>",
"Daniel Lemire <daniel@lemire.me>",
"LongYinan <github@lyn.one>",
"Boshen <boshenc@gmail.com>",
]
build = "build.rs"
links = "ada-url"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast WHATWG Compliant URL parser"
homepage = "https://ada-url.com"
documentation = "https://docs.rs/ada-url"
readme = "README.md"
keywords = [
"url",
"parser",
"whatwg",
"performance",
]
categories = [
"parser-implementations",
"web-programming",
"encoding",
"parsing",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ada-url/rust"
[package.metadata.docs.rs]
features = ["serde"]
[package.metadata.playground]
features = ["serde"]
[features]
bundled = []
default = [
"bundled",
"std",
]
libcpp = []
serde = [
"dep:serde",
"std",
]
std = []
[lib]
name = "ada_url"
path = "src/lib.rs"
[[example]]
name = "simple"
path = "examples/simple.rs"
[[test]]
name = "ada_c"
path = "tests/ada_c.rs"
[[test]]
name = "basic_tests"
path = "tests/basic_tests.rs"
[[test]]
name = "unsupported"
path = "tests/unsupported.rs"
[[test]]
name = "url_components"
path = "tests/url_components.rs"
[[test]]
name = "url_search_params"
path = "tests/url_search_params.rs"
[[test]]
name = "wpt_url_tests"
path = "tests/wpt_url_tests.rs"
[[bench]]
name = "bbc"
path = "bench/bbc.rs"
harness = false
[[bench]]
name = "ipv4"
path = "bench/ipv4.rs"
harness = false
[[bench]]
name = "parse"
path = "bench/parse.rs"
harness = false
[[bench]]
name = "scheme"
path = "bench/scheme.rs"
harness = false
[[bench]]
name = "search_params"
path = "bench/search_params.rs"
harness = false
[[bench]]
name = "wpt"
path = "bench/wpt.rs"
harness = false
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dev-dependencies.criterion]
version = "4"
features = ["cargo_bench_support"]
default-features = false
package = "codspeed-criterion-compat"
[dev-dependencies.serde]
version = "1.0"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.url]
version = "2"
[build-dependencies.cc]
version = "1.2"
features = ["parallel"]
[build-dependencies.link_args]
version = "0.6"
[build-dependencies.regex]
version = "1.11"
features = []