mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
15 lines
525 B
Rust
15 lines
525 B
Rust
yazi_macro::mod_pub!(data event loc path pool scheme shell strand translit url wtf8);
|
|
|
|
yazi_macro::mod_flat!(alias bytes chars completion_token condition debounce env id last_value layer localset natsort non_empty_string os predictor ro_cell source sync_cell terminal tests throttle time utf8);
|
|
|
|
pub fn init() {
|
|
LOCAL_SET.with(tokio::task::LocalSet::new);
|
|
|
|
LOG_LEVEL.replace(<_>::from(std::env::var("YAZI_LOG").unwrap_or_default()));
|
|
|
|
#[cfg(unix)]
|
|
USERS_CACHE.with(<_>::default);
|
|
|
|
pool::init();
|
|
event::Event::init();
|
|
}
|