1yazi_macro::mod_pub!(data errors event loc path pool scheme shell strand translit url wtf8);
2
3yazi_macro::mod_flat!(alias bytes chars completion_token condition debounce either env id layer localset natsort os predictor ro_cell source sync_cell terminal tests throttle time utf8);
4
5pub fn init() {
6 LOCAL_SET.with(tokio::task::LocalSet::new);
7
8 LOG_LEVEL.replace(<_>::from(std::env::var("YAZI_LOG").unwrap_or_default()));
9
10 #[cfg(unix)]
11 USERS_CACHE.with(<_>::default);
12
13 pool::init();
14 event::Event::init();
15}