forked from web-infra-dev/rspack
/
Cargo.toml
40 lines (37 loc) · 1.32 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
[package]
edition = "2021"
license = "MIT"
name = "rspack_loader_swc"
repository = "https://github.com/web-infra-dev/rspack"
version = "0.1.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = { workspace = true }
async-trait = { workspace = true }
dashmap = { workspace = true }
either = "1"
jsonc-parser = { version = "0.22.1", features = ["serde"] }
once_cell = { workspace = true }
rspack_ast = { path = "../rspack_ast" }
rspack_core = { path = "../rspack_core" }
rspack_error = { path = "../rspack_error" }
rspack_loader_runner = { path = "../rspack_loader_runner" }
rspack_plugin_javascript = { path = "../rspack_plugin_javascript" }
rspack_swc_visitors = { path = "../rspack_swc_visitors" }
serde = { workspace = true, features = ["derive"] }
serde_json = "1.0.100"
swc_config = { workspace = true }
swc_core = { workspace = true, features = [
"base",
"ecma_ast",
"common",
# "swc_plugin_runner",
# "plugin_transform_host_native_filesystem_cache",
# "plugin_transform_host_native",
] }
swc_emotion = { workspace = true }
swc_plugin_import = { path = "../swc_plugin_import" }
xxhash-rust = { workspace = true, features = ["xxh32"] }
[dev-dependencies]
indexmap = { workspace = true }
rspack_testing = { path = "../rspack_testing" }