mirror of
https://github.com/lifegpc/msg-tool.git
synced 2026-06-06 21:08:48 +08:00
21 lines
633 B
Rust
21 lines
633 B
Rust
//! A Rust library for exporting, importing, packing, and unpacking script files.
|
|
//!
|
|
//! For more information, please visit the [GitHub repository](https://github.com/lifegpc/msg-tool).
|
|
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
|
|
#![cfg_attr(feature = "unstable", feature(doc_auto_cfg))]
|
|
pub mod ext;
|
|
pub mod format;
|
|
pub mod output_scripts;
|
|
pub mod scripts;
|
|
pub mod types;
|
|
pub mod utils;
|
|
|
|
lazy_static::lazy_static! {
|
|
static ref COUNTER: utils::counter::Counter = utils::counter::Counter::new();
|
|
}
|
|
|
|
/// Returns a reference to the global counter instance.
|
|
pub fn get_counter() -> &'static utils::counter::Counter {
|
|
&COUNTER
|
|
}
|