[package]
authors       = ["강동윤 <kdy1997.dev@gmail.com>"]
description   = "Atoms for the swc project."
documentation = "https://rustdoc.swc.rs/swc_atoms/"
edition       = { workspace = true }
license       = { workspace = true }
name          = "swc_atoms"
repository    = { workspace = true }
version       = "5.0.0"

[lib]
bench = false

[features]
__rkyv        = []
rkyv-impl     = ["__rkyv", "rkyv", "bytecheck", "rancor"]
shrink-to-fit = ["dep:shrink-to-fit"]

[dependencies]
# bytecheck version should be in sync with rkyv version. Do not bump individually.
arbitrary     = { workspace = true, optional = true }
bytecheck     = { workspace = true, optional = true }
once_cell     = { workspace = true }
rancor        = { workspace = true, optional = true }
rkyv          = { workspace = true, optional = true }
rustc-hash    = { workspace = true }
serde         = { workspace = true }
shrink-to-fit = { workspace = true, optional = true }

hstr = { version = "1.0.0", path = "../hstr" }
