The bead description mentioned compile errors in hash.rs from API drift, but those errors were either already fixed or misattributed. The API usage was already correct: - compute_fingerprint already takes 3 arguments with source - len() already propagates Result with ? - read_at method already used correctly - Catalog fields accessed via trailer correctly Only cleanup: removed unused std::fs::File and std::io imports. Verification: notes/bf-4mkhv.md
48 lines
892 B
TOML
48 lines
892 B
TOML
[workspace]
|
|
|
|
[package]
|
|
name = "xtask"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license = "MIT OR Apache-2.0"
|
|
publish = false
|
|
|
|
[[bin]]
|
|
name = "xtask"
|
|
path = "src/main.rs"
|
|
|
|
[[bin]]
|
|
name = "gen_schema"
|
|
path = "src/bin/gen_schema.rs"
|
|
|
|
[[bin]]
|
|
name = "gen_cli_reference"
|
|
path = "src/bin/gen_cli_reference.rs"
|
|
|
|
[[bin]]
|
|
name = "migrate_schema"
|
|
path = "src/bin/migrate_schema.rs"
|
|
|
|
[[bin]]
|
|
name = "gen_scanned_fixtures"
|
|
path = "src/bin/gen_scanned_fixtures.rs"
|
|
|
|
[lib]
|
|
name = "pdftract_schema_migrate"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
serde_yaml = "0.9"
|
|
glob = "0.3"
|
|
humantime = "2.1"
|
|
lopdf = "0.34"
|
|
schemars = "1.2"
|
|
pdftract-core = { path = "../crates/pdftract-core", features = ["schemars"] }
|
|
fontdue = "0.9"
|
|
clap = { version = "4.5", features = ["derive"] }
|
|
clap-markdown = "0.1"
|
|
anyhow = "1.0"
|
|
printpdf = "0.9"
|
|
encoding_rs = "0.8"
|