[package]
name = "text"
version = "0.1.0"
edition = "2021"
publish = false
license = "GPL-3.0-or-later"

[lib]
path = "src/text.rs"
doctest = false

[features]
test-support = ["rand"]

[dependencies]
anyhow.workspace = true
clock = { path = "../clock" }
collections = { path = "../collections" }
digest = { version = "0.9", features = ["std"] }
lazy_static.workspace = true
log.workspace = true
parking_lot.workspace = true
postage.workspace = true
rand = { workspace = true, optional = true }
regex.workspace = true
rope = { path = "../rope" }
smallvec.workspace = true
sum_tree = { path = "../sum_tree" }
util = { path = "../util" }

[dev-dependencies]
collections = { path = "../collections", features = ["test-support"] }
ctor.workspace = true
env_logger.workspace = true
gpui = { path = "../gpui", features = ["test-support"] }
rand.workspace = true
util = { path = "../util", features = ["test-support"] }
