diff options
author | notgne2 | 2021-01-08 18:24:04 -0700 |
---|---|---|
committer | notgne2 | 2021-01-08 18:24:04 -0700 |
commit | 70c55363a91572790ba5d49b70c58040f112e55c (patch) | |
tree | 3344ef89b6d33cfd7e831a77941de2d29635919a /src/lib.rs | |
parent | aa42daa8002f17c33a0a56abc110ca1bc14e8cc2 (diff) |
Restructure project
Diffstat (limited to '')
-rw-r--r-- | src/lib.rs (renamed from src/utils/mod.rs) | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/utils/mod.rs b/src/lib.rs index bc46f4c..21bfb8c 100644 --- a/src/utils/mod.rs +++ b/src/lib.rs @@ -11,13 +11,11 @@ use thiserror::Error; use flexi_logger::*; -#[macro_export] -macro_rules! good_panic { - ($($tts:tt)*) => {{ - error!($($tts)*); - std::process::exit(1); - }} -} +#[macro_use] +extern crate log; + +#[macro_use] +extern crate serde_derive; pub fn make_lock_path(temp_path: &str, closure: &str) -> String { let lock_hash = |