[workspace]
resolver = "2"
members = [
    "crates/cph-diag",
    "crates/cph-model",
    "crates/cph-schema",
    "crates/cph-typst",
    "crates/cph-check",
    "crates/cph-cli",
]

# Shared metadata for all workspace crates. Individual crates inherit these via
# `version.workspace = true` / `edition.workspace = true`.
[workspace.package]
version = "0.0.2"
edition = "2021"
license = "MIT OR Apache-2.0"

[workspace.dependencies]
serde = { version = "1", features = ["derive"] }
toml = "0.8"
cph-diag = { path = "crates/cph-diag" }
cph-model = { path = "crates/cph-model" }

# citationberg 0.7.0 on crates.io pins vulnerable quick-xml 0.38. Upstream has
# adopted quick-xml 0.41 but has not published a replacement release yet.
[patch.crates-io]
citationberg = { git = "https://github.com/typst/citationberg", rev = "06a591e2f237d25e1dfdedac3f3d1494c496c52d" }
