Skip to content

Commit 337d2fd

Browse files
authored
Merge pull request #348 from quarto-dev/feature/bd-egcyeym9-source-map-extraction
Extract quarto-source-map to its own crates.io crate; q2 consumes 0.1.0 (bd-egcyeym9)
2 parents 45a55a1 + 4c94eac commit 337d2fd

26 files changed

Lines changed: 1280 additions & 3401 deletions

File tree

Cargo.lock

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ path = "./crates/quarto-yaml-validation"
116116
path = "./crates/quarto-error-reporting"
117117

118118
[workspace.dependencies.quarto-source-map]
119-
path = "./crates/quarto-source-map"
119+
version = "0.1.0"
120120

121121
[workspace.dependencies.quarto-xml]
122122
path = "./crates/quarto-xml"

claude-notes/designs/cross-package-error-codes.md

Lines changed: 426 additions & 0 deletions
Large diffs are not rendered by default.

claude-notes/plans/2026-06-26-extract-error-reporting-foundation.md

Lines changed: 319 additions & 0 deletions
Large diffs are not rendered by default.

claude-notes/plans/2026-06-26-extract-quarto-yaml-validation-design.md

Lines changed: 496 additions & 0 deletions
Large diffs are not rendered by default.

crates/pampa/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ tree-sitter-qmd = { workspace = true }
4141
comrak = { version = "0.52.0", default-features = false }
4242
comrak-to-pandoc = { path = "../comrak-to-pandoc" }
4343
quarto-error-reporting = { path = "../quarto-error-reporting" }
44-
quarto-source-map = { path = "../quarto-source-map" }
44+
quarto-source-map = { workspace = true }
4545
quarto-yaml = { path = "../quarto-yaml" }
4646
quarto-config = { path = "../quarto-config" }
4747
quarto-parse-errors = { path = "../quarto-parse-errors" }

crates/quarto-ast-reconcile/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ description = "Three-phase AST reconciliation for preserving source locations"
1313

1414
[dependencies]
1515
quarto-pandoc-types = { path = "../quarto-pandoc-types" }
16-
quarto-source-map = { path = "../quarto-source-map" }
16+
quarto-source-map = { workspace = true }
1717
serde = { workspace = true, features = ["derive"] }
1818
serde_json = { workspace = true }
1919
hashlink = { version = "0.11.0", features = ["serde_impl"] }

crates/quarto-citeproc/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ description = "Citation processing engine using CSL styles"
1010
quarto-csl = { path = "../quarto-csl" }
1111
quarto-error-reporting = { path = "../quarto-error-reporting" }
1212
quarto-pandoc-types = { path = "../quarto-pandoc-types" }
13-
quarto-source-map = { path = "../quarto-source-map" }
13+
quarto-source-map = { workspace = true }
1414
quarto-xml = { path = "../quarto-xml" }
1515
hashlink = "0.11.0"
1616
rust-embed = { version = "8", features = ["include-exclude"] }

crates/quarto-config/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ repository.workspace = true
1212
description = "Configuration merging with source tracking for Quarto"
1313

1414
[dependencies]
15-
quarto-source-map = { path = "../quarto-source-map" }
15+
quarto-source-map = { workspace = true }
1616
quarto-yaml = { path = "../quarto-yaml" }
1717
quarto-pandoc-types = { path = "../quarto-pandoc-types" }
1818
quarto-error-reporting = { path = "../quarto-error-reporting" }

crates/quarto-csl/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description = "CSL (Citation Style Language) parsing with source tracking for Qu
99

1010
[dependencies]
1111
quarto-error-reporting = { path = "../quarto-error-reporting" }
12-
quarto-source-map = { path = "../quarto-source-map" }
12+
quarto-source-map = { workspace = true }
1313
quarto-xml = { path = "../quarto-xml" }
1414
thiserror = { workspace = true }
1515

0 commit comments

Comments
 (0)