Skip to main content

forge/
lib.rs

1#![no_std]
2
3#[cfg(feature = "allocator")]
4extern crate alloc;
5
6pub extern crate forge_macros as macros;
7pub extern crate forge_rt as rt;
8pub extern crate forge_sys as sys;
9
10pub use macros::*;
11
12pub use sys::init::{ForgeVersion, PluginInitParams};
13
14// REQUIRED_VERSION is generated by build.rs from Cargo.toml version fields
15include!(concat!(env!("OUT_DIR"), "/version.rs"));
16
17#[cfg(feature = "allocator")]
18mod allocator;
19
20pub mod hook;
21pub mod input;
22pub mod log;
23pub mod mem;
24pub mod os;
25pub mod patch;
26pub mod socket;
27
28#[cfg(feature = "patterns")]
29pub mod pattern;
30
31#[cfg(feature = "mt")]
32pub mod mt;
33
34#[cfg(feature = "mt")]
35pub mod singleton;
36
37#[cfg(feature = "imgui")]
38pub mod graphics;
39
40#[cfg(feature = "imgui")]
41pub mod imgui;