dstest 0.1.6

Deterministic Simulation Testing for containerised services
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mod opts;
mod setup;

use mlua::Lua;

use crate::bindings::LuaModule;
use crate::engine::context::BindingContext;
use crate::substrate::Substrate;

pub struct Core;

impl<S: Substrate> LuaModule<S> for Core {
    fn register(lua: &Lua, dstest: &mlua::Table, ctx: &BindingContext<S>) -> mlua::Result<()> {
        opts::register(lua, dstest, ctx)?;
        setup::register(lua, dstest, ctx)?;
        Ok(())
    }
}