[package]
name = "ruff_formatter"
version = "0.0.0"
publish = false
edition = { workspace = true }
rust-version = { workspace = true }

[dependencies]
ruff_text_size = { path = "../ruff_text_size" }

drop_bomb = { version = "0.1.5" }
rustc-hash = { workspace = true }
schemars = { workspace = true, optional = true }
serde = { workspace = true, optional = true }
tracing = { version = "0.1.37", default-features = false, features = ["std"] }
unicode-width = { version = "0.1.10" }

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

[features]
serde = ["dep:serde", "schemars"]
