refactor(reader): extract.rs moves into ledger-reader (U0d)
D-61 (Q-9): the writer sheds the typesetter and the crate map is layered again. The PDF/XLSX reader (extract.rs, plan P6) is now the plain library crate ledger-reader, moved whole with git mv and no behavior change. ledger-store depends on it instead of ledger-import, so the store no longer builds Typst or the fonts; ledger-import re-exports it as ledger_import::extract so gui, mcp, host and the fuzz targets compile unchanged, and still never depends on the store. New crate carries only the dependencies extract.rs imports (hayro, hayro-interpret, kurbo, zip, quick-xml, thiserror); fuzz/Cargo.lock gains the new package. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HS8WZziDnyxunC23MUxrLp
This commit is contained in:
1 parent
f98471516e
commit
bb1eb84200
15 files changed
+344
-68
No files matched your search
Generated
+14
-5
@@ -3989,13 +3989,10 @@ dependencies = [
|
||||
"chrono",
|
||||
"csv",
|
||||
"deunicode",
|
||||
"hayro 0.8.0",
|
||||
"hayro-interpret 0.8.0",
|
||||
"kurbo",
|
||||
"ledger-core",
|
||||
"ledger-reader",
|
||||
"proptest",
|
||||
"qrcode",
|
||||
"quick-xml 0.38.4",
|
||||
"rqrr",
|
||||
"rust_decimal",
|
||||
"rust_xlsxwriter",
|
||||
@@ -4058,6 +4055,18 @@ dependencies = [
|
||||
"zip 9.0.2",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "ledger-reader"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"hayro 0.8.0",
|
||||
"hayro-interpret 0.8.0",
|
||||
"kurbo",
|
||||
"quick-xml 0.38.4",
|
||||
"thiserror 2.0.21",
|
||||
"zip 9.0.2",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "ledger-store"
|
||||
version = "0.1.0"
|
||||
@@ -4068,7 +4077,7 @@ dependencies = [
|
||||
"getrandom 0.2.17",
|
||||
"hex",
|
||||
"ledger-core",
|
||||
"ledger-import",
|
||||
"ledger-reader",
|
||||
"libc",
|
||||
"proptest",
|
||||
"rusqlite",
|
||||
|
||||
Reference in new issue
Block a user