-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
46 lines (37 loc) · 1.08 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
[package]
name = "swc-plugin-css-modules"
version = "0.1.0"
edition = "2021"
[lib]
crate-type = ["cdylib", "rlib"]
[profile.release]
lto = true
[dependencies]
digest = { version = "0.10", default-features = false }
# hashes
md4 = { version = "0.10", default-features = false }
md-5 = { version = "0.10", default-features = false }
sha1 = { version = "0.10", default-features = false }
sha2 = { version = "0.10", default-features = false }
twox-hash = "2"
# digest
base16ct = { version = "0.2", features = ["alloc"] }
base32ct = { version = "0.2", features = ["alloc"] }
base64ct = { version = "1", features = ["alloc"] }
pathdiff = "0.2"
path-absolutize = { version = "3", features = ["use_unix_paths_on_wasm"] }
serde = "1"
serde_json = "1"
serde-inline-default = "0.2.0"
regex = "1"
lazy_static = "1"
swc_core = { version = "9", features = [
"ecma_plugin_transform",
"ecma_parser",
] }
ts-rs = "10"
[dev-dependencies]
testing = "5"
# .cargo/config defines few alias to build plugin.
# cargo build-wasip1 generates wasm-wasi32 binary
# cargo build-wasm32 generates wasm32-unknown-unknown binary.