[package] name = "ada-url" authors = [ "Yagiz Nizipli ", "Daniel Lemire ", "LongYinan ", "Boshen " ] version = "4.0.0" edition = "2024" description = "Fast WHATWG Compliant URL parser" documentation = "https://docs.rs/ada-url" readme = "README.md" keywords = ["url", "parser", "whatwg", "performance"] categories = ["parser-implementations", "web-programming", "encoding", "parsing", "no-std"] repository = "https://github.com/ada-url/rust" homepage = "https://ada-url.com" license = "MIT OR Apache-2.0" links = "ada-url" [[bench]] name = "parse" path = "bench/parse.rs" harness = false [[bench]] name = "bbc" path = "bench/bbc.rs" harness = false [[bench]] name = "search_params" path = "bench/search_params.rs" harness = false [[bench]] name = "ipv4" path = "bench/ipv4.rs" harness = false [[bench]] name = "scheme" path = "bench/scheme.rs" harness = false [[bench]] name = "wpt" path = "bench/wpt.rs" harness = false [features] default = ["bundled", "std"] # compile and statically link the bundled C++ `ada` sources. Enabled by # default; disable (`default-features = false`) to link an externally provided # ada instead (see `ADA_LIB_DIR` / `ADA_LIB_NAME` in build.rs). bundled = [] # pass `cpp_set_stdlib("c++")` to `cc` libcpp = [] # enables serde serialization/deserialization support serde = ["dep:serde", "std"] # enable allocations std = [] [dependencies] serde = { version = "1", optional = true, features = ["derive"] } [dev-dependencies] criterion = { package = "codspeed-criterion-compat", version = "4", default-features = false, features = ["cargo_bench_support"] } url = "2" # Used by benchmarks serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" [build-dependencies] cc = { version = "1.2", features = ["parallel"] } link_args = "0.6" regex = { version = "1.11", features = [] } [package.metadata.docs.rs] features = ["serde"] [package.metadata.playground] features = ["serde"]