cargo fmt

This commit is contained in:
akiranishikawa
2020-12-13 17:28:00 +09:00
parent 83cf1e398c
commit a87058743e
2 changed files with 2 additions and 3 deletions

View File

@@ -1,13 +1,13 @@
extern crate csv; extern crate csv;
use crate::detections::print::MESSAGES; use crate::detections::print::MESSAGES;
use std::path::PathBuf;
use crate::detections::rule; use crate::detections::rule;
use crate::detections::rule::RuleNode; use crate::detections::rule::RuleNode;
use crate::yaml::ParseYaml; use crate::yaml::ParseYaml;
use evtx::err; use evtx::err;
use evtx::{EvtxParser, SerializedEvtxRecord}; use evtx::{EvtxParser, SerializedEvtxRecord};
use serde_json::{Error, Value}; use serde_json::{Error, Value};
use std::path::PathBuf;
const DIRPATH_RULES: &str = "rules"; const DIRPATH_RULES: &str = "rules";

View File

@@ -16,7 +16,6 @@ fn main() {
} else if configs::singleton().args.is_present("credits") { } else if configs::singleton().args.is_present("credits") {
print_credits(); print_credits();
} }
} }
fn collect_evtxfiles(dirpath: &str) -> Vec<PathBuf> { fn collect_evtxfiles(dirpath: &str) -> Vec<PathBuf> {
@@ -60,7 +59,7 @@ fn print_credits() {
fn detect_files(evtx_files: Vec<PathBuf>) { fn detect_files(evtx_files: Vec<PathBuf>) {
let mut detection = detection::Detection::new(); let mut detection = detection::Detection::new();
&detection.start(evtx_files); &detection.start(evtx_files);
after_fact(); after_fact();
} }