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
20#[cfg(feature = "config")]
21pub mod config;
22#[cfg(feature = "allocator")]
23pub mod fs;
24pub mod hook;
25pub mod input;
26pub mod log;
27pub mod mem;
28pub mod os;
29pub mod patch;
30pub mod socket;
31
32#[cfg(feature = "patterns")]
33pub mod pattern;
34
35#[cfg(feature = "mt")]
36pub mod mt;
37
38#[cfg(feature = "mt")]
39pub mod singleton;
40
41#[cfg(feature = "imgui")]
42pub mod graphics;
43
44#[cfg(feature = "imgui")]
45pub mod imgui;