tokio-fs-ext 0.0.7

Extend tokio fs to be compatible with native and wasm
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#[macro_export]
macro_rules! log {
        ($($arg:tt)*) => (
            web_sys::console::log_1(&wasm_bindgen::JsValue::from(&format!($($arg)*)))
        )
    }

#[macro_export]
macro_rules! error {
        ($($arg:tt)*) => (
            web_sys::console::error_1(&wasm_bindgen::JsValue::from(&format!($($arg)*)))
        )

    }

pub use error;
pub use log;