# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "ada-url"
version = "3.0.0"
authors = [
    "Yagiz Nizipli <yagiz@nizipli.com>",
    "Daniel Lemire <daniel@lemire.me>",
    "LongYinan <github@lyn.one>",
    "Boshen <boshenc@gmail.com>",
]
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"]

[[bench]]
name = "parse"
path = "bench/parse.rs"
harness = false

[dependencies.derive_more]
version = "0.99.17"

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dev-dependencies.criterion]
version = "0.5"
features = ["cargo_bench_support"]
default-features = false

[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.0.83"
features = ["parallel"]

[build-dependencies.link_args]
version = "0.6"

[build-dependencies.regex]
version = "1.10.2"
features = []

[features]
default = ["std"]
libcpp = []
serde = [
    "dep:serde",
    "std",
]
std = []
