diff --git a/sqlx-core/Cargo.toml b/sqlx-core/Cargo.toml index 8ab9740df8..df577d58a4 100644 --- a/sqlx-core/Cargo.toml +++ b/sqlx-core/Cargo.toml @@ -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" diff --git a/sqlx-core/src/common/statement_cache.rs b/sqlx-core/src/common/statement_cache.rs index 2ae097203c..dcf48c9465 100644 --- a/sqlx-core/src/common/statement_cache.rs +++ b/sqlx-core/src/common/statement_cache.rs @@ -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.