forked from parcel-bundler/lightningcss
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
32 lines (26 loc) · 817 Bytes
/
Cargo.toml
File metadata and controls
32 lines (26 loc) · 817 Bytes
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
[package]
authors = ["Devon Govett <devongovett@gmail.com>"]
name = "parcel_css_node"
version = "0.1.0"
edition = "2018"
publish = false
[lib]
crate-type = ["cdylib"]
[dependencies]
serde = { version = "1.0.123", features = ["derive"] }
serde_bytes = "0.11.5"
serde_json = "*"
cssparser = "0.29.1"
parcel_css = { path = "../" }
parcel_sourcemap = "2.0.0"
[target.'cfg(target_os = "macos")'.dependencies]
jemallocator = { version = "0.3.2", features = ["disable_initial_exec_tls"] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
napi = { version = "1.7.10", features = ["serde-json"] }
napi-derive = "1"
[target.'cfg(target_arch = "wasm32")'.dependencies]
js-sys = "0.3"
serde-wasm-bindgen = "0.3.0"
wasm-bindgen = "0.2"
[target.'cfg(not(target_arch = "wasm32"))'.build-dependencies]
napi-build = "1"