mirror of
https://github.com/sigp/lighthouse.git
synced 2026-06-30 11:24:31 +00:00
Use hashlink over lru for LruCache (#8911)
Use the `LruCache` implementation provided by `hashlink` instead of the current `lru` one. This is mostly a 1-to-1 swap with only slight API incompatibilities. I have decided to leave some config files which previously used `NonZeroUsize` but they may not be required anymore and could potentially switch to `usize`. Co-Authored-By: Mac L <mjladson@pm.me>
This commit is contained in:
@@ -152,7 +152,7 @@ fs2 = "0.4"
|
||||
futures = "0.3"
|
||||
genesis = { path = "beacon_node/genesis" }
|
||||
graffiti_file = { path = "validator_client/graffiti_file" }
|
||||
hashlink = "0.9.0"
|
||||
hashlink = "0.11"
|
||||
health_metrics = { path = "common/health_metrics" }
|
||||
hex = "0.4"
|
||||
http_api = { path = "beacon_node/http_api" }
|
||||
@@ -170,7 +170,6 @@ lockfile = { path = "common/lockfile" }
|
||||
log = "0.4"
|
||||
logging = { path = "common/logging" }
|
||||
logroller = "0.1.8"
|
||||
lru = "0.12"
|
||||
lru_cache = { path = "common/lru_cache" }
|
||||
malloc_utils = { path = "common/malloc_utils" }
|
||||
maplit = "1"
|
||||
|
||||
Reference in New Issue
Block a user