swc/Cargo.toml
강동윤 8afa3413ea
Remove dependency on lazy_static and chashmap (#617)
- `lazy_static` is replaced by `once_cell`
 - `chashmap` is replaced by `dashmap`
2020-01-30 23:29:12 +09:00

40 lines
845 B
TOML

[workspace]
[package]
name = "swc"
version = "0.1.0"
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
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"
edition = "2018"
[lib]
name = "swc"
[dependencies]
atoms = { package = "swc_atoms", path ="./atoms" }
common = { package = "swc_common", path ="./common" }
ecmascript = { package = "swc_ecmascript", path ="./ecmascript" }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
failure = "0.1"
path-clean = "0.1"
once_cell = "1"
hashbrown = "0.6"
regex = "1"
either = "1"
dashmap = "3.2.2"
sourcemap = "4.1.1 "
[dev-dependencies]
testing = { path = "./testing" }
walkdir = "2"
[[example]]
name = "usage"
[profile.bench]
codegen-units = 1
#lto = true