mirror of
https://github.com/swc-project/swc.git
synced 2024-11-24 02:06:08 +03:00
4ff6d4ed4a
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
31 lines
675 B
TOML
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" } |