# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "hstr"
version = "1.1.5"
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A string type which is optimized for hash operations."
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/swc-project/swc.git"

[features]
atom_size_128 = []
atom_size_64 = []
rkyv = ["dep:rkyv"]
serde = ["dep:serde"]

[lib]
name = "hstr"
path = "src/lib.rs"
bench = false

[[example]]
name = "fast_api"
path = "examples/fast_api.rs"

[[example]]
name = "global_api"
path = "examples/global_api.rs"

[[bench]]
name = "libs"
path = "benches/libs.rs"
harness = false

[dependencies.hashbrown]
version = "0.14.5"

[dependencies.new_debug_unreachable]
version = "1.0.6"

[dependencies.once_cell]
version = "1.19.0"

[dependencies.rkyv]
version = "0.8.8"
optional = true

[dependencies.rustc-hash]
version = "2"

[dependencies.serde]
version = "1.0.197"
optional = true

[dependencies.triomphe]
version = "0.1.13"

[dev-dependencies.compact_str]
version = "0.7.1"

[dev-dependencies.criterion]
version = "0.5.1"

[dev-dependencies.kstring]
version = "2.0.0"

[dev-dependencies.num_cpus]
version = "1.13.1"

[dev-dependencies.par-iter]
version = "2.0.0"

[dev-dependencies.rand]
version = "0.8.5"

[dev-dependencies.smartstring]
version = "1.0.1"

[dev-dependencies.smol_str]
version = "0.2.0"

[dev-dependencies.string_cache]
version = "0.8.7"

[dev-dependencies.swc_malloc]
version = "1.2.3"
