chore: upgrade rustledger to v0.8.5 #80
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Changes in rustledger v0.8.5
This release includes fixes for FFI field passthrough (rustledger/rustledger#311):
LedgerOptions (13 new fields)
inferred_tolerance_default: per-currency tolerance map (fixesinferred_tolerance_defaultoption not honored #71)inferred_tolerance_multiplier: tolerance multiplierrender_commas: boolean for number formattinginfer_tolerance_from_cost: boolean flagaccount_rounding: optional rounding accountaccount_previous_balances: opening balances accountaccount_previous_earnings: previous earnings accountaccount_previous_conversions: previous conversions accountaccount_current_earnings: current earnings accountaccount_current_conversions: optional current conversions accountaccount_unrealized_gains: optional unrealized gains accountconversion_currency: optional conversion currencyEntry fields
Posting.flag: posting-level flag (e.g.,"!"for pending)Balance.tolerance: explicit tolerance (e.g.,"~ 0.01")Automation
This PR also adds
.github/workflows/update-rustledger.ymlwhich listens forrustledger-releaseevents. When rustledger publishes a new release, it will automatically create a PR to update the WASM version.See rustledger PR: rustledger/rustledger#314
Test
Related issues
Fixes #71
🤖 Generated with Claude Code