pdftract/xtask/src/lib.rs
jedarden 895f1ce43d fix(bf-1avnz): remove .code field access on String diagnostics in serve.rs
Fix two compilation errors at lines 584 and 658 where code was calling
.code on &String diagnostics. Replaced d.code.to_string() with direct
Vec<String> clone since diagnostics is already Vec<String>.

Accepts criteria:
- cargo check -p pdftract-cli emits no 'no field code' errors
- serve.rs compiles cleanly
2026-06-01 04:14:05 -04:00

9 lines
265 B
Rust

//! xtask library for pdftract development tasks.
//!
//! This library exposes reusable modules for development tasks including
//! schema migration and other utilities.
pub mod migrate;
// Re-export the migrate function for convenience
pub use migrate::migrate;