Skip to content

Commit

Permalink
Update imports in cache.rs.
Browse files Browse the repository at this point in the history
  • Loading branch information
singulared committed Jul 28, 2020
1 parent 58a7116 commit 98d10a5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,11 @@ pub use actix_cache_derive::Cacheable;
use log::{debug, warn};
use serde::{Deserialize, Serialize};

use crate::actor::Cache;
use crate::{Cache, CacheError};
#[cfg(feature = "metrics")]
use crate::metrics::{
CACHE_HIT_COUNTER, CACHE_MISS_COUNTER, CACHE_STALE_COUNTER, CACHE_UPSTREAM_HANDLING_HISTOGRAM,
};
use crate::CacheError;

/// Trait describe cache configuration per message for actix Cache actor.
pub trait Cacheable {
Expand Down

0 comments on commit 98d10a5

Please sign in to comment.