forked from vercel/next.js
/
Cargo.toml
46 lines (39 loc) · 1.1 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]
edition = "2018"
name = "wasm"
publish = false
version = "0.0.0"
[lib]
crate-type = ["cdylib"]
[features]
default = ["swc_v1"]
swc_v1 = []
plugin = [
"getrandom/js",
"next-binding/__swc_core_binding_wasm_plugin"
]
[dependencies]
anyhow = "1.0.66"
console_error_panic_hook = "0.1.6"
next-swc = {version = "0.0.0", path = "../core"}
once_cell = "1.13.0"
parking_lot_core = "=0.8.0"
path-clean = "0.1"
serde = {version = "1", features = ["derive"]}
serde_json = "1"
tracing = { version = "0.1.37", features = ["release_max_level_off","max_level_off"] }
wasm-bindgen = {version = "0.2", features = ["enable-interning"]}
wasm-bindgen-futures = "0.4.8"
getrandom = { version = "0.2.5", optional = true, default-features = false }
js-sys = "0.3.59"
serde-wasm-bindgen = "0.4.3"
next-binding = { git = "https://github.com/vercel/turbo.git", rev = "c7b627c67c072b99f0d2fa578a6404db0be633c5", features = [
"__swc_core_binding_wasm",
"__feature_mdx_rs",
] }
# Workaround a bug
[package.metadata.wasm-pack.profile.release]
wasm-opt = false
# Workaround a bug
[package.metadata.wasm-pack.profile.dev]
wasm-opt = false