t3_lib_rust/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
pub mod utils;
pub use utils::utils as other_utils;
pub mod web;
pub mod flash_phone;
pub mod sql;
mod kernel;
pub use kernel::kernel as other_kernel ;
pub use flash_phone::flash_phone as other_flash_phone ;
pub use sql::sql as other_sql ;
pub use web::web as other_web ;
#[cfg(test)]
mod tests {

    use crate::utils::utils::*;
    #[test]
    fn it_works() {
        set_console_output_cp_to_utf8();
        let c=str_to_cstr("dir".parse().unwrap());
        let result = exec(c).stdout;
        println!("{}",cstring_to_string(result).unwrap());
    }
}