changed import from hashbrown::HashMap to std::collections::HashMap due

to be merged hashbrown in std HashMap
This commit is contained in:
DastInDark
2022-07-24 19:54:53 +09:00
parent a7033c4289
commit 42e6bf0296
10 changed files with 16 additions and 24 deletions

View File

@@ -2,9 +2,7 @@ extern crate csv;
use crate::detections::configs;
use crate::detections::utils::write_color_buffer;
use crate::options::profile;
use crate::options::profile::PROFILES;
use linked_hash_map::LinkedHashMap;
use termcolor::{BufferWriter, Color, ColorChoice};
use crate::detections::message::AlertMessage;
@@ -21,9 +19,8 @@ use crate::detections::rule::RuleNode;
use crate::detections::utils::{get_serde_number_to_string, make_ascii_titlecase};
use crate::filter;
use crate::yaml::ParseYaml;
use hashbrown;
use hashbrown::HashMap;
use serde_json::Value;
use std::collections::HashMap;
use std::fmt::Write;
use std::path::Path;
@@ -39,7 +36,7 @@ pub struct EvtxRecordInfo {
pub evtx_filepath: String, // イベントファイルのファイルパス ログで出力するときに使う
pub record: Value, // 1レコード分のデータをJSON形式にシリアライズしたもの
pub data_string: String,
pub key_2_value: hashbrown::HashMap<String, String>,
pub key_2_value: HashMap<String, String>,
pub record_information: Option<String>,
}