swc/Cargo.toml
강동윤 4ff6d4ed4a
Performance & Node binding (#84)
swc_common:
 - update rustc-ap crates to v313

swc_ecma_ast:
 - use bool instead of Option<Span>


swc_ecma_parser:
 - remove LexerInput
 - use uncons_while
 - assert only on debug mode
 - use Visit instead of Fold while verifying
 - replace debug! with trace!
 - disable logging while benchmarking
 - drop slog

swc_ecma_transforms:
 - classes: fold Decl instead of Stmt

swc:
 - add nodejs binding
2018-12-21 16:54:36 +09:00

31 lines
675 B
TOML

[workspace]
[package]
name = "swc"
version = "0.1.0"
authors = ["강동윤 <kdy1@outlook.kr>"]
license = "Apache-2.0/MIT"
repository = "https://github.com/swc-project/swc.git"
documentation = "https://swc-project.github.io/rustdoc/swc/"
description = "Speedy web compiler"
[lib]
name = "swc"
[dependencies]
rayon = "1.0.3"
swc_atoms = { version = "0.1", path ="./atoms" }
swc_common = { version = "0.1", path ="./common" }
swc_ecmascript = { version = "0.1", path ="./ecmascript" }
sourcemap = "2.2"
[profile.bench]
lto = true
[profile.release]
lto = true
[patch.crates-io]
# This reduces compile time
sourcemap = { git = "https://github.com/kdy1/rust-sourcemap.git" }