msg_tool/
lib.rs

1//! A Rust library for exporting, importing, packing, and unpacking script files.
2//!
3//! For more information, please visit the [GitHub repository](https://github.com/lifegpc/msg-tool).
4#![cfg_attr(any(docsrs, feature = "unstable"), feature(doc_cfg))]
5pub mod ext;
6pub mod format;
7pub mod output_scripts;
8pub mod scripts;
9pub mod types;
10pub mod utils;
11
12lazy_static::lazy_static! {
13    static ref COUNTER: utils::counter::Counter = utils::counter::Counter::new();
14}
15
16/// Returns a reference to the global counter instance.
17pub fn get_counter() -> &'static utils::counter::Counter {
18    &COUNTER
19}