aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorBernardo Meurer2021-01-24 23:38:44 -0800
committerBernardo Meurer2021-01-26 10:33:05 -0800
commit815814529eec6f739eb1618fdf356e526b3879e1 (patch)
tree2e96e8eac1edf1742ea60b9f00e8df768d409b3b /src/lib.rs
parentc00e29a39df47c8cdba8c4bb43868a27f32df3b8 (diff)
changed: remove 2015-style extern crate
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/lib.rs b/src/lib.rs
index edc0507..b93b9ae 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -11,12 +11,6 @@ use thiserror::Error;
use flexi_logger::*;
-#[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 =
&closure["/nix/store/".len()..closure.find('-').unwrap_or_else(|| closure.len())];