-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
/
Cargo.toml
58 lines (46 loc) 路 1.72 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
[package]
authors = ["Devon Govett <devongovett@gmail.com>"]
name = "parcel-node-bindings"
version = "0.1.0"
edition = "2021"
[lib]
crate-type = ["cdylib"]
[features]
canary = ["sentry", "once_cell", "whoami", "rustls"]
rustls = ["sentry/rustls"]
openssl = ["sentry/native-tls"]
[dependencies]
napi-derive = "2.12.5"
parcel-js-swc-core = { path = "../../packages/transformers/js/core" }
parcel-resolver = { path = "../../packages/utils/node-resolver-rs" }
dashmap = "5.4.0"
xxhash-rust = { version = "0.8.2", features = ["xxh3"] }
log = "0.4.21"
sentry = { version = "0.32.2", optional = true, default-features = false, features = ["backtrace", "contexts", "panic", "reqwest", "debug-images", "anyhow"]}
once_cell = { version = "1.19.0", optional = true }
whoami = { version = "1.5.1", optional = true }
serde = "1.0.198"
serde_json = "1.0.116"
toml = "0.8.12"
anyhow = "1.0.82"
mockall = "0.12.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
napi = { version = "2.12.6", features = ["serde-json", "napi4", "napi5"] }
parcel-dev-dep-resolver = { path = "../../packages/utils/dev-dep-resolver" }
parcel-macros = { path = "../macros", features = ["napi"] }
oxipng = "8.0.0"
mozjpeg-sys = "1.0.0"
libc = "0.2"
rayon = "1.7.0"
crossbeam-channel = "0.5.6"
indexmap = "1.9.2"
[target.'cfg(target_arch = "wasm32")'.dependencies]
napi = { version = "2.12.6", features = ["serde-json"] }
getrandom = { version = "0.2", features = ["custom"], default-features = false }
[target.'cfg(target_os = "macos")'.dependencies]
jemallocator = { version = "0.3.2", features = ["disable_initial_exec_tls"] }
[target.'cfg(windows)'.dependencies]
mimalloc = { version = "0.1.25", default-features = false }
[dev-dependencies]
[build-dependencies]
napi-build = "2"