Skip to main content

pfx_mod/
lib.rs

1mod ctx;
2mod depth;
3mod error;
4mod fingerprint;
5mod gameplay;
6mod host;
7mod limits;
8mod manifest;
9mod set;
10
11pub use ctx::ModCtx;
12pub use error::{Cause, Frame, HostError, Limit, LoadError, ModError, Refusal};
13pub use fingerprint::Fingerprint;
14pub use gameplay::{Event, Modules, What};
15pub use host::{Host, LOG_INTERFACE, LOG_WIT, Loaded, Package, config, disabled_features};
16pub use limits::{Fuel, Limits, LogLimits};
17pub use manifest::{Api, MANIFEST, Manifest, valid_entry, valid_id};
18pub use pfx_core::modules::{Level, Notice, Reload};
19pub use set::{Bind, Called, Fresh, Mod, ModSet, RESTORE, SAVE, Swapped};
20pub use wasmtime;
21
22#[cfg(test)]
23mod tests;