summaryrefslogtreecommitdiffstats
path: root/src/config/preview.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/preview.rs')
-rw-r--r--src/config/preview.rs8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/config/preview.rs b/src/config/preview.rs
index b24e5c9..939c45f 100644
--- a/src/config/preview.rs
+++ b/src/config/preview.rs
@@ -1,10 +1,8 @@
-extern crate toml;
-extern crate xdg;
-
+use serde_derive::Deserialize;
use std::collections::HashMap;
-use config::{parse_config_file, Flattenable};
-use PREVIEW_FILE;
+use crate::config::{parse_config_file, Flattenable};
+use crate::PREVIEW_FILE;
#[derive(Debug, Deserialize)]
pub struct JoshutoPreviewEntry {