Skip to main content

Module native

Module native 

Source
Expand description

Native (non-WASM) plugin support.

These plugins run as native Rust code for maximum performance. They implement the same interface as WASM plugins.

Modules§

utils
Shared utility functions for native plugins.

Structs§

AutoAccountsPlugin
Plugin that auto-generates Open directives for accounts used without explicit open.
AutoTagPlugin
Plugin that automatically adds tags based on account patterns.
CheckAverageCostPlugin
Plugin that validates reducing postings use average cost for accounts with NONE booking.
CheckClosingPlugin
Plugin that inserts zero balance assertion when posting has closing: TRUE metadata.
CheckCommodityPlugin
Plugin that checks all used commodities are declared.
CheckDrainedPlugin
Plugin that inserts zero balance assertions when balance sheet accounts are closed.
CloseTreePlugin
Plugin that closes all descendant accounts when a parent account closes.
CoherentCostPlugin
Plugin that ensures currencies use cost OR price consistently, never both.
CommodityAttrPlugin
Plugin that validates Commodity directives have required metadata attributes.
CurrencyAccountsPlugin
Plugin that auto-generates currency trading account postings.
DocumentDiscoveryPlugin
Plugin that auto-discovers document files from configured directories.
ImplicitPricesPlugin
Plugin that generates price entries from transaction costs and prices.
LeafOnlyPlugin
Plugin that errors when posting to non-leaf (parent) accounts.
NativePluginRegistry
Registry of built-in native plugins.
NoDuplicatesPlugin
Plugin that detects duplicate transactions based on hash.
NoUnusedPlugin
Plugin that identifies accounts that are opened but never used.
OneCommodityPlugin
Plugin that enforces single commodity per account.
PedanticPlugin
Meta-plugin that enables all strict validation plugins.
SellGainsPlugin
Plugin that cross-checks declared gains against sale prices.
UniquePricesPlugin
Plugin that enforces unique prices (one per commodity pair per day).
UnrealizedPlugin
Plugin that calculates unrealized gains on positions.

Traits§

NativePlugin
Trait for native plugins.