swc/crates/swc_atoms/Cargo.toml
2022-09-23 07:50:26 +00:00

36 lines
1.1 KiB
TOML

[package]
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
build = "build.rs"
description = "Atoms for the swc project."
documentation = "https://rustdoc.swc.rs/swc_atoms/"
edition = "2021"
license = "Apache-2.0"
name = "swc_atoms"
repository = "https://github.com/swc-project/swc.git"
version = "0.4.17"
[lib]
bench = false
[features]
__rkyv = []
# Enably rkyv serialization with stable version of rkyv.
rkyv-impl = ["__rkyv", "rkyv"]
# Enable rkyv serialization with updated version of rkyv, along with bytecheck.
rkyv-bytecheck-impl = ["__rkyv", "rkyv-latest"]
[dependencies]
bytecheck = { version = "0.6.9", optional = true }
once_cell = "1"
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 }
rustc-hash = "1.1.0"
serde = "1"
string_cache = "0.8.4"
triomphe = "0.1.8"
[build-dependencies]
string_cache_codegen = "0.5.2"