diff options
author | Adam T. Carpenter <atc@53hor.net> | 2021-04-09 18:50:55 -0400 |
---|---|---|
committer | Adam T. Carpenter <atc@53hor.net> | 2021-04-09 18:50:55 -0400 |
commit | 201a37e8d3d0ef4c59b184c0707ec8ddd301a25a (patch) | |
tree | 1aae6c03bfb9f694adea81510dacf586311fcc12 /src/repo/constants.rs | |
parent | 881e4bf3c9141b4bebaefaf6385652ed46d9a9fe (diff) | |
download | twinh-201a37e8d3d0ef4c59b184c0707ec8ddd301a25a.tar.xz twinh-201a37e8d3d0ef4c59b184c0707ec8ddd301a25a.zip |
spruced up templates, some repo impl
Diffstat (limited to 'src/repo/constants.rs')
-rw-r--r-- | src/repo/constants.rs | 9 |
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!") -}); |