tackler-core 0.19.0

Core components for Tackler accounting engine with native GIT SCM support
Documentation
/*
 * Tackler-NG 2023-2025
 * SPDX-License-Identifier: Apache-2.0
 */

pub use settings::Settings;
pub(crate) mod accumulator;
pub mod balance;
pub mod hash;
pub mod price_lookup;
pub mod report_item_selector;
pub mod report_settings;
pub mod settings;

pub use report_settings::BalanceGroupSettings;
pub use report_settings::BalanceSettings;
pub use report_settings::RegisterSettings;

///
/// Predicate to test if item x is part of set or not
///
/// `x` item to be tested
/// `returns` true if it's selected, false if it's rejected
pub trait Predicate<T> {
    fn eval(&self, item: &T) -> bool;
}