summaryrefslogtreecommitdiff
path: root/src/repo/constants.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/repo/constants.rs')
-rw-r--r--src/repo/constants.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/repo/constants.rs b/src/repo/constants.rs
index e168a77..6da641f 100644
--- a/src/repo/constants.rs
+++ b/src/repo/constants.rs
@@ -1,11 +1,2 @@
-use once_cell::sync::Lazy;
-use sled::{Config, Db};
-
pub const PARTS_TREE: &str = "parts";
pub const CARS_TREE: &str = "cars";
-pub static REPO_INSTANCE: Lazy<Db> = Lazy::new(|| {
- Config::default()
- .path("/tmp/twinh")
- .open()
- .expect("Couldn't open DB!")
-});