swc/ecmascript/codegen/Cargo.toml
강동윤 eebf14fbef
Allow stable rust (#118)
This pr introduces some cargo features. For `swc_common` and `swc_ecma_ast`, it introduces a feature flag `fold`.
`Fold` and `Visit` traits exist only if the feature is enabled.

For `swc_ecma_parser`, flag called `verify` is added. When disabled, we skip checking of validity of some expressions.

e.g. `{foo = bar}`

Verification is disabled by default it requires nightly compiler
2019-01-17 23:17:16 +09:00

20 lines
715 B
TOML

[package]
name = "swc_ecma_codegen"
version = "0.4.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_ecma_codegen/"
description = "Ecmascript code generator for the swc project."
[dependencies]
bitflags = "1"
swc_atoms = { version = "0.1", path ="../../atoms" }
swc_common = { version = "0.2", path ="../../common" }
swc_ecma_ast = { version = "0.6", path ="../ast" }
swc_ecma_codegen_macros = { version = "0.1", path ="./macros" }
sourcemap = "2.2"
[dev-dependencies]
testing = { version = "0.2", path ="../../testing" }
swc_ecma_parser = { version = "0.8", path ="../parser" }