Merge pull request #1435 from cuviper/hashlink-0.9

Upgrade to hashlink 0.9
This commit is contained in:
gwenn 2024-01-10 20:36:17 +01:00 committed by GitHub
commit 6fa1987cfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -116,7 +116,7 @@ bundled-full = ["modern-full", "bundled"]
[dependencies]
time = { version = "0.3.0", features = ["formatting", "macros", "parsing"], optional = true }
bitflags = "2.0"
hashlink = "0.8"
hashlink = "0.9"
chrono = { version = "0.4", optional = true, default-features = false, features = ["clock"] }
serde_json = { version = "1.0", optional = true }
csv = { version = "1.1", optional = true }

View File

@ -57,7 +57,7 @@ impl Connection {
}
/// Prepared statements LRU cache.
// #[derive(Debug)] // FIXME: https://github.com/kyren/hashlink/pull/4
#[derive(Debug)]
pub struct StatementCache(RefCell<LruCache<Arc<str>, RawStatement>>);
#[allow(clippy::non_send_fields_in_send_ty)]