diff --git a/src/wot_log.rs b/src/wot_log.rs index 66a30d4..2044523 100644 --- a/src/wot_log.rs +++ b/src/wot_log.rs @@ -1,4 +1,4 @@ -use std::fs::{File, OpenOptions}; +use std::fs::OpenOptions; use std::io::Write; use std::path::PathBuf; @@ -37,18 +37,6 @@ pub struct WotLog { } impl WotLog { - fn generate_id() -> String { - let harsh = Harsh::default(); - let ts = Utc::now(); - harsh.encode(&[ts.timestamp_nanos() as u64]) - } - - pub fn new_id(&mut self) { - let harsh = Harsh::default(); - let ts = Utc::now(); - self.id = harsh.encode(&[ts.timestamp_nanos() as u64]) - } - pub fn new() -> Self { Self { client: Client::None,