[package]
name = "turbopath"
version = "0.1.0"
license = "MIT"
edition = { workspace = true }

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

[lints]
workspace = true

[features]
biome = [
  "dep:biome_deserialize",
  "dep:biome_deserialize_macros",
  "dep:biome_diagnostics",
  "dep:biome_json_parser",
  "dep:turborepo-unescape",
]

[dependencies]
biome_deserialize = { workspace = true, optional = true }
biome_deserialize_macros = { workspace = true, optional = true }
biome_diagnostics = { workspace = true, optional = true }
biome_json_parser = { workspace = true, optional = true }
turborepo-unescape = { workspace = true, optional = true }

camino = { workspace = true }
dunce = { workspace = true }
fs-err = "2.9.0"
miette = { workspace = true }
path-clean = "1.0.1"
# TODO: Make this a crate feature
serde = { workspace = true }
thiserror = { workspace = true }
wax = { workspace = true }

[dev-dependencies]
anyhow = { workspace = true }
serde_json = { workspace = true }
tempfile = { workspace = true }
test-case = { workspace = true }
