tackler-core 0.7.0

Core components for Tackler accounting engine with native GIT SCM support
Documentation
/*
 * Copyright 2023-2024 E257.FI
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

pub(crate) use account_tree_node::AccountTreeNode;
pub(crate) use account_tree_node::Commodity;
pub(crate) use account_tree_node::TxnAccount;
pub(crate) use balance_tree_node::BalanceTreeNode;
pub use posting::Posting;
pub(crate) use register::RegisterEntry;
pub(crate) use register::RegisterPosting;
pub use transaction::Transaction;
pub use txn_data::TxnData;
pub use txn_data::TxnSet;

pub(crate) mod account_tree_node;
pub(crate) mod balance_tree_node;
pub mod posting;
mod register;
pub mod transaction;
pub mod txn_data;

pub type Txns = Vec<Transaction>;
pub type TxnRefs<'a> = Vec<&'a Transaction>;
pub type Posts = Vec<Posting>;