summaryrefslogtreecommitdiff
path: root/src/loading/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/loading/mod.rs')
-rw-r--r--src/loading/mod.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/loading/mod.rs b/src/loading/mod.rs
index e6cca012..4841e752 100644
--- a/src/loading/mod.rs
+++ b/src/loading/mod.rs
@@ -11,15 +11,12 @@ pub use mem::*;
use std::io;
use std::path::Path;
-use serde::{Deserialize, Serialize};
-
use crate::font::FaceInfo;
/// A hash that identifies a file.
///
/// Such a hash can be [resolved](Loader::resolve) from a path.
-#[derive(Debug, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash)]
-#[derive(Serialize, Deserialize)]
+#[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
pub struct FileHash(pub u64);
/// Loads resources from a local or remote source.