-
Notifications
You must be signed in to change notification settings - Fork 170
/
Cargo.toml
48 lines (42 loc) · 1.24 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
47
48
[package]
name = "aleph-compiler"
version = "0.0.0"
description = "The compiler of Aleph.js written in Rust, powered by swc."
repository = "https://github.com/alephjs/aleph.js"
authors = ["The Aleph.js authors"]
license = "MIT"
edition = "2018"
[lib]
crate-type = ["cdylib", "rlib"]
[features]
default = ["console_error_panic_hook"]
[dependencies]
anyhow = "1.0.40"
base64 = "0.13.0"
indexmap = "1.6.2"
lazy_static = "1.4.0"
once_cell = "1.7.2"
path-slash = "0.1.4"
pathdiff = "0.2.0"
regex = "1.4.5"
relative-path = "1.3.2"
sha-1 = "0.9.4"
serde = { version = "1.0.125", features = ["derive"] }
url = "2.2.1"
# swc
# docs: https://swc.rs
swc_atoms = "0.2.6"
swc_common = { version = "0.10.16", features = ["sourcemap"] }
swc_ecmascript = { version = "0.31.2", features = ["codegen", "parser", "react", "transforms", "visit"] }
swc_ecma_transforms_proposal = "0.13.3"
swc_ecma_transforms_typescript = "0.14.4"
swc_ecma_ast = "0.43.1"
swc_ecma_visit = "0.29.1"
swc_ecma_utils = "0.34.1"
# wasm-bindgen
# docs: https://rustwasm.github.io/docs/wasm-bindgen
wasm-bindgen = {version = "0.2.73", features = ["serde-serialize"]}
console_error_panic_hook = { version = "0.1.6", optional = true }
[profile.release]
# Tell `rustc` to optimize for speed and size
lto = true