Merge branch 'zinit_client'
Some checks are pending
Rhai Tests / Run Rhai Tests (push) Waiting to run
Some checks are pending
Rhai Tests / Run Rhai Tests (push) Waiting to run
* zinit_client: working example to showcase zinit usage in Rhai scripts implemented zinit-client for integration with Rhai-scripts # Conflicts: # Cargo.toml # src/lib.rs # src/rhai/mod.rs
This commit is contained in:
@@ -14,6 +14,7 @@ mod redisclient;
|
||||
mod rfs;
|
||||
mod hero_vault; // This module now uses hero_vault internally
|
||||
mod text;
|
||||
mod zinit;
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests;
|
||||
@@ -91,6 +92,9 @@ pub use rfs::register as register_rfs_module;
|
||||
pub use crate::git::{GitRepo, GitTree};
|
||||
pub use git::register_git_module;
|
||||
|
||||
// Re-export zinit module
|
||||
pub use zinit::register_zinit_module;
|
||||
|
||||
// Re-export text module
|
||||
pub use text::register_text_module;
|
||||
// Re-export text functions directly from text module
|
||||
@@ -147,6 +151,10 @@ pub fn register(engine: &mut Engine) -> Result<(), Box<rhai::EvalAltResult>> {
|
||||
// Register Git module functions
|
||||
git::register_git_module(engine)?;
|
||||
|
||||
|
||||
// Register Zinit module functions
|
||||
zinit::register_zinit_module(engine)?;
|
||||
|
||||
// Register Text module functions
|
||||
text::register_text_module(engine)?;
|
||||
|
||||
|
Reference in New Issue
Block a user