no warnings
parent
8a47ffe851
commit
74e3b3ab31
10
src/main.rs
10
src/main.rs
|
|
@ -6,18 +6,18 @@ use log::{error, info};
|
|||
use options::config::*;
|
||||
use options::logger::setup_logger;
|
||||
use options::signals::set_valid_destructor;
|
||||
use options::structs::*;
|
||||
// use options::structs::*;
|
||||
use options::structs::{PrebootParams, Processes};
|
||||
use std::sync::Arc;
|
||||
use std::time::Duration;
|
||||
use tokio::sync::mpsc;
|
||||
use utils::*;
|
||||
use options::preboot::*;
|
||||
#[allow(unused_imports)]
|
||||
use options::preboot::validate_preboot_params;
|
||||
|
||||
#[tokio::main(flavor = "multi_thread")]
|
||||
async fn main() {
|
||||
use options::structs::PrebootParams;
|
||||
let a = PrebootParams::parse();
|
||||
println!("{:?}", a);
|
||||
let _preboot = PrebootParams::parse();
|
||||
|
||||
|
||||
let _ = setup_logger();
|
||||
|
|
|
|||
|
|
@ -1,7 +1,11 @@
|
|||
// module to handle pre-boot params of the monitor
|
||||
use super::structs::PrebootParams;
|
||||
use anyhow::{Result, Ok};
|
||||
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub fn validate_preboot_params(_cli: &PrebootParams) -> Result<()> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue