[package] name = "ada-url" authors = [ "Yagiz Nizipli ", "Daniel Lemire ", "LongYinan ", "Boshen " ] version = "3.1.0" edition = "2021" 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" [[bench]] name = "parse" path = "bench/parse.rs" harness = false [features] default = ["std"] # pass `cpp_set_stdlib("c++")` to `cc` libcpp = [] # enables serde serialization/deserialization support serde = ["dep:serde", "std"] # enable allocations std = [] [dependencies] derive_more = { version = "1", features = ["full"] } serde = { version = "1", optional = true, features = ["derive"] } [dev-dependencies] criterion = { version = "0.5", 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.1", features = ["parallel"] } link_args = "0.6" regex = { version = "1.11", features = [] } [package.metadata.docs.rs] features = ["serde"] [package.metadata.playground] features = ["serde"]