oxedyne/fe2o3/fe2o3_shield/src/main.rs
417 bytes, 9 runs
created by r1870400018:4080, which is this file's identity for as long as the history lasts, whatever it is later renamed to
download · who wrote it · its history
| 1 | #![forbid(unsafe_code)] |
| 2 | pub mod app; |
| 3 | pub mod srv; |
| 4 | |
| 5 | use crate::{ |
| 6 | app::tui, |
| 7 | }; |
| 8 | |
| 9 | use oxedyne_fe2o3_core::{ |
| 10 | prelude::*, |
| 11 | }; |
| 12 | |
| 13 | |
| 14 | fn main() -> Outcome<()> { |
| 15 | |
| 16 | let mut log_cfg = log_get_config!(); |
| 17 | log_cfg.file = None; |
| 18 | log_set_config!(log_cfg); |
| 19 | log_set_level!("debug"); |
| 20 | |
| 21 | let outcome = tui::run(); |
| 22 | |
| 23 | std::thread::sleep(std::time::Duration::from_secs(1)); |
| 24 | |
| 25 | log_finish_wait!(); |
| 26 | |
| 27 | outcome |
| 28 | } |