-
Notifications
You must be signed in to change notification settings - Fork 12
/
Cargo.toml
53 lines (46 loc) · 1.38 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 <[email protected]>",
"Daniel Lemire <[email protected]>",
"LongYinan <[email protected]>",
"Boshen <[email protected]>"
]
version = "3.0.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 = "0.99.17"
serde = { version = "1.0", 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.0.83", features = ["parallel"] }
link_args = "0.6"
regex = { version = "1.10.2", features = [] }
[package.metadata.docs.rs]
features = ["serde"]
[package.metadata.playground]
features = ["serde"]