0g-storage-node/Cargo.toml
peilun-conflux 506d234562
Some checks are pending
abi-consistent-check / build-and-compare (push) Waiting to run
code-coverage / unittest-cov (push) Waiting to run
rust / check (push) Waiting to run
rust / test (push) Waiting to run
rust / lints (push) Waiting to run
functional-test / test (push) Waiting to run
Use LRU to cache MPT nodes. (#227)
* Add trait.

* Update merkle tree trait.

* Use NodeManager.

* fix.

* Use LRU for cache.

* fix clippy.

* Save layer size.

* Initialize LogManager with NodeManager.

* Fix.

* Fix test.

* fix.
2024-10-27 12:52:06 +08:00

43 lines
1022 B
TOML

[workspace]
members = [
"common/channel",
"common/directory",
"common/hashset_delay",
"common/lighthouse_metrics",
"common/merkle_tree",
"common/task_executor",
"common/zgs_version",
"common/unused_port",
"common/append_merkle",
"node",
"node/chunk_pool",
"node/file_location_cache",
"node/log_entry_sync",
"node/miner",
"node/network",
"node/pruner",
"node/router",
"node/rpc",
"node/shared_types",
"node/storage",
"node/storage-async",
"node/sync",
]
resolver = "2"
[workspace.dependencies]
metrics = { git = "https://github.com/Conflux-Chain/conflux-rust.git", rev = "c4734e337c66d38e6396742cd5117b596e8d2603" }
[patch.crates-io]
discv5 = { path = "version-meld/discv5" }
eth2_ssz = { path = "version-meld/eth2_ssz" }
enr = { path = "version-meld/enr" }
[profile.bench.package.'storage']
debug = true
[profile.dev]
# enabling debug_assertions will make node fail to start because of checks in `clap`.
debug-assertions = false