Skip to content

Commit

Permalink
refactor: Change lowlevel module to use internal re-export
Browse files Browse the repository at this point in the history
  • Loading branch information
GrayJack committed Apr 23, 2024
1 parent cff0850 commit b64ac2e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,13 @@ compile_error!(r#"You can only use either "amalgation" or "system" feature, not
// Janet requires allocation
extern crate alloc;

pub use evil_janet as lowlevel;
/// This module has a expose the entire Janet C-API structures, constants and functions.
///
/// This module exists in the case of a functionality of the Janet C-API can't be, or is
/// not yet, implemented in a safe abstraction.
pub mod lowlevel {
pub use evil_janet::*;
}

pub mod allocator;
#[cfg(any(feature = "amalgation", feature = "link-system"))]
Expand Down

0 comments on commit b64ac2e

Please sign in to comment.