2018-01-12 10:53:06 +03:00
|
|
|
[package]
|
2022-08-11 12:52:44 +03:00
|
|
|
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
|
|
|
|
description = "Ecmascript ast."
|
2021-03-31 07:09:10 +03:00
|
|
|
documentation = "https://rustdoc.swc.rs/swc_ecma_ast/"
|
2022-08-11 12:52:44 +03:00
|
|
|
edition = "2021"
|
|
|
|
license = "Apache-2.0"
|
|
|
|
name = "swc_ecma_ast"
|
|
|
|
repository = "https://github.com/swc-project/swc.git"
|
2023-03-13 06:27:50 +03:00
|
|
|
version = "0.100.1"
|
2020-10-15 08:58:11 +03:00
|
|
|
|
2022-08-11 12:52:44 +03:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
2021-11-25 08:16:18 +03:00
|
|
|
|
2022-04-04 14:12:03 +03:00
|
|
|
[lib]
|
|
|
|
bench = false
|
|
|
|
|
2020-10-15 08:58:11 +03:00
|
|
|
[features]
|
2022-09-15 08:20:46 +03:00
|
|
|
__rkyv = []
|
|
|
|
default = []
|
|
|
|
fuzzing = ["arbitrary", "swc_common/arbitrary"]
|
|
|
|
# Enably rkyv serialization with stable version of rkyv.
|
|
|
|
rkyv-impl = ["__rkyv", "rkyv", "swc_atoms/rkyv-impl", "swc_common/rkyv-impl"]
|
|
|
|
# Enable rkyv serialization with updated version of rkyv, along with bytecheck.
|
|
|
|
rkyv-bytecheck-impl = [
|
|
|
|
"__rkyv",
|
|
|
|
"rkyv-latest",
|
|
|
|
"swc_atoms/rkyv-bytecheck-impl",
|
|
|
|
"swc_common/rkyv-bytecheck-impl",
|
|
|
|
]
|
2018-01-12 10:53:06 +03:00
|
|
|
|
|
|
|
[dependencies]
|
2022-09-15 08:20:46 +03:00
|
|
|
arbitrary = { version = "1", optional = true, features = ["derive"] }
|
|
|
|
bitflags = "1"
|
|
|
|
bytecheck = { version = "0.6.9", optional = true }
|
2022-10-21 12:07:00 +03:00
|
|
|
is-macro = "0.2.1"
|
2022-09-15 08:20:46 +03:00
|
|
|
num-bigint = { version = "0.4", features = ["serde"] }
|
|
|
|
rkyv = { package = "rkyv", version = "=0.7.37", optional = true }
|
|
|
|
# This is to avoid cargo version selection conflict between rkyv=0.7.37 and other versions, as it is strictly pinned
|
|
|
|
# cannot be merged.
|
|
|
|
rkyv-latest = { package = "rkyv-test", version = "=0.7.38-test.2", optional = true }
|
2022-08-11 12:52:44 +03:00
|
|
|
scoped-tls = "1.0.0"
|
2022-09-30 10:57:15 +03:00
|
|
|
serde = { version = "1.0.133", features = ["derive"] }
|
2023-03-13 06:27:50 +03:00
|
|
|
string_enum = { version = "0.3.3", path = "../string_enum" }
|
2023-03-08 05:51:08 +03:00
|
|
|
swc_atoms = { version = "0.4.39", path = "../swc_atoms" }
|
2023-03-11 06:44:48 +03:00
|
|
|
swc_common = { version = "0.29.37", path = "../swc_common" }
|
2022-08-11 12:52:44 +03:00
|
|
|
unicode-id = "0.3"
|
2019-02-24 08:12:04 +03:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2020-08-03 19:33:23 +03:00
|
|
|
serde_json = "1"
|