mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 10:31:03 +00:00
runtime-api subsystem lru cache (#2309)
* Add memory-lru cache to runtime-api * Add cache.rs * Adds MallocSizeOf * Review nits * Add a cached requests metric * More review nits * Some more review nits
This commit is contained in:
@@ -25,6 +25,7 @@ trie = { package = "sp-trie", git = "https://github.com/paritytech/substrate", b
|
||||
bitvec = { version = "0.17.4", default-features = false, features = ["alloc"] }
|
||||
frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
||||
hex-literal = "0.3.1"
|
||||
parity-util-mem = { version = "0.8.0", default-features = false, optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
sp-serializer = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
@@ -48,6 +49,7 @@ std = [
|
||||
"sp-arithmetic/std",
|
||||
"runtime_primitives/std",
|
||||
"serde",
|
||||
"parity-util-mem",
|
||||
"polkadot-parachain/std",
|
||||
"polkadot-core-primitives/std",
|
||||
"bitvec/std",
|
||||
|
||||
Reference in New Issue
Block a user