Skip to content

Commit

Permalink
Fix order of used crates
Browse files Browse the repository at this point in the history
  • Loading branch information
bernharddick committed Jul 20, 2024
1 parent 357beca commit 79efee6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/expiring_sized_cache.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use cached::stores::ExpiringSizedCache;
use web_time::Instant;
use std::sync::Arc;
use std::time::Duration;
use tokio::sync::RwLock;
use web_time::Instant;

#[tokio::main]
async fn main() {
Expand Down
2 changes: 1 addition & 1 deletion src/stores/disk.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
use crate::IOCached;
use directories::BaseDirs;
use web_time::Duration;
use serde::de::DeserializeOwned;
use serde::Serialize;
use sled::Db;
use std::marker::PhantomData;
use std::path::Path;
use std::{path::PathBuf, time::SystemTime};
use web_time::Duration;

pub struct DiskCacheBuilder<K, V> {
seconds: Option<u64>,
Expand Down
2 changes: 1 addition & 1 deletion src/stores/timed.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use web_time::Instant;
use std::cmp::Eq;
use std::hash::Hash;
use web_time::Instant;

#[cfg(feature = "ahash")]
use hashbrown::{hash_map::Entry, HashMap};
Expand Down

0 comments on commit 79efee6

Please sign in to comment.