swc/node/binding/Cargo.toml
Donny/강동윤 650e1494d4
fix: Migrate dependencies (#2307)
*:
 - Migrate from `log` to `tracing`. (#2284)
 - Migrate from `fxhash` to `rustc-hash`.

swc_common:
 - Add a cargo feature named `debug`.
2021-09-27 09:19:15 +00:00

36 lines
1.0 KiB
TOML

[package]
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
build = "build.rs"
edition = "2018"
exclude = ["artifacts.json", "index.node"]
license = "MIT"
name = "node"
publish = false
version = "0.1.0"
[lib]
crate-type = ["cdylib"]
[build-dependencies]
napi-build = {version = "1"}
[dependencies]
anyhow = "1"
backtrace = "0.3"
napi = {version = "1", features = ["serde-json"]}
napi-derive = {version = "1"}
path-clean = "0.1"
rustc-hash = "1.1.0"
serde = {version = "1", features = ["derive"]}
serde_json = {version = "1", features = ["unbounded_depth"]}
swc = {path = "../../", features = ["wrong-target"]}
swc_atoms = {version = "0.2.4", path = "../../atoms"}
swc_bundler = {path = "../../bundler"}
swc_common = {path = "../../common", features = ["sourcemap"]}
swc_ecma_ast = {path = "../../ecmascript/ast"}
swc_ecma_loader = {path = "../../ecmascript/loader"}
swc_ecma_parser = {path = "../../ecmascript/parser"}
swc_node_base = {path = "../base"}
swc_node_bundler = {path = "../bundler"}
tracing = {version = "0.1.28", features = ["release_max_level_off"]}