1#![cfg(windows)]
2#![cfg_attr(not(feature = "std"), no_std)]
3#![deny(unsafe_op_in_unsafe_fn)]
4#![allow(clippy::missing_safety_doc)] #[cfg(all(not(feature = "std"), feature = "alloc"))]
25extern crate alloc;
26
27#[cfg(feature = "std")]
28extern crate std;
29
30#[cfg(all(feature = "std", feature = "kernel"))]
32extern crate alloc;
33
34pub mod arch;
35pub mod error;
36#[cfg(any(
37 feature = "manual-map",
38 feature = "syscalls",
39 feature = "spoof",
40 feature = "hooks",
41 feature = "antidebug",
42 feature = "unlink",
43 feature = "remote"
44))]
45pub mod manipulation;
46#[cfg(feature = "navigation")]
47pub mod navigation;
48pub mod structures;
49pub mod util;
50pub mod version;
51
52#[cfg(feature = "kernel")]
53pub mod km;
54
55#[cfg(feature = "kernel-client")]
56pub mod km_client;
57
58pub use error::{Result, WraithError};
60pub use structures::{Peb, Teb};
61pub use version::{WindowsRelease, WindowsVersion};
62
63pub const VERSION: &str = env!("CARGO_PKG_VERSION");