rustledger-loader
Beancount file loader with include resolution, options parsing, and binary caching.
Features
- Recursive
includedirective resolution - Option parsing and validation
- Plugin directive collection
- Binary cache for faster subsequent loads
- Path traversal protection
Example
use ;
use Path;
// Simple loading (raw parse without processing)
let result = new.load?;
println!;
// With full processing (booking, plugins, validation)
use load;
let ledger = load?;
println!;
Cargo Features
cache(default) - Enable rkyv-based binary caching for faster loadsfull(default) - Full processing pipeline (booking + plugins + validation); required for theload/processAPI used in the example abovebooking/plugins/validation- Individual processing features (enabled together byfull)
License
GPL-3.0