[package]
name = "rolldown_utils"
version = "1.0.0"
publish = true
description = "General-purpose utilities for Rolldown"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

edition.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true

[lib]

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

[lints]
workspace = true

[dependencies]
anyhow = { workspace = true }
arcstr = { workspace = true }
base-encode = { workspace = true }
base64-simd = { workspace = true }
cow-utils = { workspace = true }
dashmap = { workspace = true }
fast-glob = { workspace = true }
form_urlencoded = { workspace = true }
futures = { workspace = true }
indexmap = { workspace = true, features = ["serde"] }
infer = { workspace = true }
itoa = { workspace = true }
memchr = { workspace = true }
mime = { workspace = true }
nom = { workspace = true }
oxc = { workspace = true }
oxc_index = { workspace = true }
oxc_str = { workspace = true }
regex = { workspace = true }
regress = { workspace = true }
rolldown_error = { workspace = true }
rolldown_std_utils = { workspace = true }
rustc-hash = { workspace = true }
serde_json = { workspace = true }
simdutf8 = { workspace = true }
sugar_path = { workspace = true }
tokio = { workspace = true }
uuid = { workspace = true, features = ["v4"] }
xxhash-rust = { workspace = true, features = ["xxh3"] }

[target.'cfg(not(target_family = "wasm"))'.dependencies]
async-scoped = { workspace = true, features = ["use-tokio"] }
rayon = { workspace = true }

[dev-dependencies]
criterion2 = { workspace = true }
