-
Notifications
You must be signed in to change notification settings - Fork 14
/
Cargo.toml
53 lines (46 loc) · 1.4 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[package]
name = "ada-url"
authors = [
"Yagiz Nizipli <yagiz@nizipli.com>",
"Daniel Lemire <daniel@lemire.me>",
"LongYinan <github@lyn.one>",
"Boshen <boshenc@gmail.com>"
]
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"]