aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authornotgne22021-02-08 23:47:32 -0700
committerGitHub2021-02-08 23:47:32 -0700
commit96a268db2dceb6b6c63d3fa2d47e2c188a1b11f4 (patch)
treecd58b4f6436bda62b08fd6ee266850f28d32769c /src/lib.rs
parent4f4c1e3cf7c9bc13a1dfd7d0035696cf6e7eaeb6 (diff)
parent8571c086c591cd154f3b23b5c552c1b87bf1975d (diff)
Merge pull request #47 from lovesegfault/style-fixes
changed: assorted fixes
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())];