-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
78 lines (67 loc) · 1.84 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
[package]
name = "oxc-browserslist"
version = "1.1.1"
authors = ["Boshen <[email protected]>", "Pig Fang <[email protected]>"]
categories = ["config", "web-programming"]
edition = "2021"
include = ["/benches", "/examples", "/src"]
keywords = ["javascript", "web"]
license = "MIT"
repository = "https://github.com/oxc-project/oxc-browserslist"
description = "Rust-ported Browserslist for Oxc."
[workspace]
members = [".", "xtask"]
[workspace.lints.rust]
unsafe_code = "warn"
absolute_paths_not_starting_with_crate = "warn"
non_ascii_idents = "warn"
unit-bindings = "warn"
[workspace.lints.clippy]
all = { level = "warn", priority = -1 }
dbg_macro = "warn"
todo = "warn"
unimplemented = "warn"
cargo = { level = "warn", priority = -1 }
[workspace.dependencies]
anyhow = "1.0"
criterion2 = { version = "2.0.0", default-features = false }
indexmap = "2.1"
nom = "7.1"
pico-args = "0.5.0"
prettyplease = "0.2.20"
proc-macro2 = "1.0.84"
project-root = "0.2.2"
quote = "1.0"
rustc-hash = "2.0.0"
serde = "1.0"
serde_json = "1.0"
syn = "2"
test-case = "3.3"
thiserror = "2.0"
time = "0.3.36"
[lints]
workspace = true
[lib]
name = "browserslist"
[[bench]]
name = "resolve"
harness = false
[dependencies]
nom = { workspace = true }
rustc-hash = { workspace = true }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
thiserror = { workspace = true }
time = { workspace = true }
[dev-dependencies]
criterion2 = { workspace = true }
pico-args = { workspace = true }
test-case = { workspace = true }
[target.'cfg(target_arch = "wasm32")'.dependencies]
js-sys = { version = "0.3", optional = true }
wasm-bindgen = { version = "0.2", optional = true }
serde-wasm-bindgen = { version = "0.6", optional = true }
[features]
default = []
wasm_bindgen = ["js-sys", "serde-wasm-bindgen", "time/wasm-bindgen", "wasm-bindgen"]
codspeed = ["criterion2/codspeed"]