mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
10 lines
314 B
Rust
10 lines
314 B
Rust
yazi_macro::mod_pub!(entry fetcher loader preloader previewer provider);
|
|
|
|
yazi_macro::mod_flat!(runner spot);
|
|
|
|
pub static RUNNER: yazi_shim::cell::RoCell<Runner> = yazi_shim::cell::RoCell::new();
|
|
|
|
pub fn init(setter: fn(&mlua::Lua) -> mlua::Result<()>) {
|
|
crate::loader::init();
|
|
RUNNER.init(Runner { setter });
|
|
}
|