mirror of
https://github.com/isar/rusqlite.git
synced 2025-03-31 19:12:58 +08:00
Merge pull request #1435 from cuviper/hashlink-0.9
Upgrade to hashlink 0.9
This commit is contained in:
commit
6fa1987cfb
@ -116,7 +116,7 @@ bundled-full = ["modern-full", "bundled"]
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
time = { version = "0.3.0", features = ["formatting", "macros", "parsing"], optional = true }
|
time = { version = "0.3.0", features = ["formatting", "macros", "parsing"], optional = true }
|
||||||
bitflags = "2.0"
|
bitflags = "2.0"
|
||||||
hashlink = "0.8"
|
hashlink = "0.9"
|
||||||
chrono = { version = "0.4", optional = true, default-features = false, features = ["clock"] }
|
chrono = { version = "0.4", optional = true, default-features = false, features = ["clock"] }
|
||||||
serde_json = { version = "1.0", optional = true }
|
serde_json = { version = "1.0", optional = true }
|
||||||
csv = { version = "1.1", optional = true }
|
csv = { version = "1.1", optional = true }
|
||||||
|
@ -57,7 +57,7 @@ impl Connection {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Prepared statements LRU cache.
|
/// Prepared statements LRU cache.
|
||||||
// #[derive(Debug)] // FIXME: https://github.com/kyren/hashlink/pull/4
|
#[derive(Debug)]
|
||||||
pub struct StatementCache(RefCell<LruCache<Arc<str>, RawStatement>>);
|
pub struct StatementCache(RefCell<LruCache<Arc<str>, RawStatement>>);
|
||||||
|
|
||||||
#[allow(clippy::non_send_fields_in_send_ty)]
|
#[allow(clippy::non_send_fields_in_send_ty)]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user