avmnif_rs/
lib.rs

1#![no_std]
2extern crate alloc;
3
4// Core modules - keep your existing structure
5pub mod atom;
6pub mod log;
7pub mod term;
8pub mod port;
9pub mod tagged;
10pub mod context;
11pub mod resource;
12pub mod registry;
13
14// Testing infrastructure (only compiled for tests)
15#[cfg(test)]
16pub mod testing;
17
18// Re-export commonly used types - match your existing exports
19pub use context::Context;
20pub use term::{Term, NifResult};
21pub use crate::log::log_info;
22
23// Re-export testing utilities when testing
24#[cfg(test)]
25pub use testing::*;