1#![recursion_limit = "128"]
16#![allow(ellipsis_inclusive_range_patterns)]
17#![cfg_attr(not(feature = "std"), no_std)]
18extern crate no_std_compat as std;
19
20#[macro_use]
21pub mod util;
22
23pub mod image;
24
25pub mod stringify;
26
27pub mod pattern;
28
29pub use pelite_macros::pattern;
30
31mod error;
32pub use self::error::{Error, Result};
33
34#[cfg(feature = "mmap")]
35mod mmap;
36#[cfg(feature = "mmap")]
37pub use self::mmap::*;
38
39pub mod pe64;
40pub mod pe32;
41pub(crate) mod wrap;
42pub use self::wrap::*;
43
44#[cfg(feature = "unstable")]
45mod pir;
46#[cfg(feature = "unstable")]
47pub use self::pir::Pir;
48
49pub use dataview::Pod;
50
51#[cfg(all(windows, target_pointer_width = "32"))]
53pub use self::pe32 as pe;
54#[cfg(all(windows, target_pointer_width = "64"))]
56pub use self::pe64 as pe;
57
58pub mod base_relocs;
59
60#[cfg(any(feature = "std", feature = "resources_nostd"))]
61pub mod resources;
62pub mod rich_structure;
63pub mod security;
64pub mod strings;
65
66#[cfg(test)]
67mod tests;