Skip to content

Commit

Permalink
Replace lru-cache with hashlink
Browse files Browse the repository at this point in the history
  • Loading branch information
chertov authored and mehcode committed Dec 3, 2020
1 parent 7f1bff4 commit 04647ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sqlx-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,4 @@ webpki = { version = "0.21.3", optional = true }
webpki-roots = { version = "0.20.0", optional = true }
whoami = "0.9.0"
stringprep = "0.1.2"
lru-cache = "0.1.2"
hashlink = "0.6.0"
2 changes: 1 addition & 1 deletion sqlx-core/src/common/statement_cache.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use lru_cache::LruCache;
use hashlink::lru_cache::LruCache;

/// A cache for prepared statements. When full, the least recently used
/// statement gets removed.
Expand Down

0 comments on commit 04647ae

Please sign in to comment.