File: Cargo.toml

package info (click to toggle)
rust-swc-core 35.0.0~ds-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 62,816 kB
  • sloc: javascript: 873; xml: 538; sh: 358; makefile: 35; python: 5
file content (42 lines) | stat: -rw-r--r-- 1,199 bytes parent folder | download | duplicates (2)
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
[package]
name = "swc_plugin_backend_wasmer"
version = "1.0.0"
edition = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
authors       = ["강동윤 <kdy1997.dev@gmail.com>"]
description   = "Runner backend for swc plugins. This crate is INTERNAL crate and used by swc itself."

[lib]
bench   = false
doctest = false

[features]
default = ["plugin_transform_host_native"]
plugin_transform_host_js = [
  "wasmer/js-default",
  "wasmer-wasix/js-default",
  "wasmer-compiler-cranelift/wasm",
]
plugin_transform_host_native = [
  "wasmer/cranelift",
  "wasmer/sys",
  "wasmer-wasix/sys-minimal",
  "wasmer-wasix/host-fs",
  "wasmer-compiler-cranelift/default",
]

[dependencies]
anyhow       = { workspace = true }
enumset      = { workspace = true }
parking_lot  = { workspace = true }
wasmer       = { workspace = true }
wasmer-wasix = { workspace = true }

swc_common = { version = "14.0.2", path = "../swc_common", features = [
  "concurrent",
] }
swc_plugin_runner = { version = "18.0.0", path = "../swc_plugin_runner" }

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
wasmer-compiler-cranelift = { version = "6.1.0-rc.2", default-features = false }