swc/crates/swc_css_ast/Cargo.toml
Donny/강동윤 30bc086052
refactor(ast): Make serde optional (#7138)
**Description:**

Turbopack does not use `serde` of swc AST types.
2023-03-27 13:28:42 +09:00

30 lines
954 B
TOML

[package]
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
description = "AST definitions of css"
documentation = "https://rustdoc.swc.rs/swc_css_ast/"
edition = "2021"
license = "Apache-2.0"
name = "swc_css_ast"
repository = "https://github.com/swc-project/swc.git"
version = "0.134.13"
[lib]
bench = false
[features]
__rkyv = []
default = []
rkyv-bytecheck-impl = []
rkyv-impl = ["__rkyv", "rkyv", "swc_atoms/rkyv-impl", "swc_common/rkyv-impl"]
serde-impl = ["serde"]
[dependencies]
bytecheck = { version = "0.6.9", optional = true }
is-macro = "0.2.0"
rkyv = { version = "=0.7.37", optional = true }
serde = { version = "1.0.127", features = ["derive"], optional = true }
string_enum = { version = "0.3.4", path = "../string_enum/" }
swc_atoms = { version = "0.4.39", path = "../swc_atoms" }
swc_common = { version = "0.29.39", path = "../swc_common" }