diff options
author | Matt Strapp <matt@mattstrapp.net> | 2024-12-12 14:26:04 -0600 |
---|---|---|
committer | Matt Strapp <matt@mattstrapp.net> | 2024-12-12 14:26:04 -0600 |
commit | e9dc275d5ddcbcc36a94584844487f1d44b353e0 (patch) | |
tree | c8b46e1428c6be4a75c9c6fad6f7c8942f86bae9 | |
parent | don't abort on panic (diff) | |
download | wwb-e9dc275d5ddcbcc36a94584844487f1d44b353e0.tar wwb-e9dc275d5ddcbcc36a94584844487f1d44b353e0.tar.gz wwb-e9dc275d5ddcbcc36a94584844487f1d44b353e0.tar.bz2 wwb-e9dc275d5ddcbcc36a94584844487f1d44b353e0.tar.lz wwb-e9dc275d5ddcbcc36a94584844487f1d44b353e0.tar.xz wwb-e9dc275d5ddcbcc36a94584844487f1d44b353e0.tar.zst wwb-e9dc275d5ddcbcc36a94584844487f1d44b353e0.zip |
important
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
-rw-r--r-- | wwb/Cargo.toml | 1 | ||||
-rw-r--r-- | wwb/report.json | 5 | ||||
-rw-r--r-- | wwb/src/main.rs | 2 |
3 files changed, 3 insertions, 5 deletions
diff --git a/wwb/Cargo.toml b/wwb/Cargo.toml index 810f96b..58095a2 100644 --- a/wwb/Cargo.toml +++ b/wwb/Cargo.toml @@ -8,4 +8,5 @@ chrono = "0.4.39" ctrlc = "3.4.5" env_logger = "0.11.5" fastrand = "2.3.0" +locusts = "0.0.0" log = "0.4.22" diff --git a/wwb/report.json b/wwb/report.json deleted file mode 100644 index 4896cc3..0000000 --- a/wwb/report.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": 0, - "root_name": "wwb", - "workspace_crates": {} -}
\ No newline at end of file diff --git a/wwb/src/main.rs b/wwb/src/main.rs index 963fecb..97f27cc 100644 --- a/wwb/src/main.rs +++ b/wwb/src/main.rs @@ -1,5 +1,6 @@ use chrono::Local; use env_logger::{Builder, Env, Target}; +use locusts::introduce_locusts; use std::io::Write; use std::process::exit; use std::sync::{Arc, Mutex}; @@ -11,6 +12,7 @@ fn roll_d6() -> u8 { } fn main() { + introduce_locusts(); let env = Env::new().filter_or("RUST_LOG", "info"); // Create logger Builder::from_env(env) |