mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-29 09:08:05 -05:00
feat(trie): setup crate (#2166)
This commit is contained in:
4
Cargo.lock
generated
4
Cargo.lock
generated
@@ -5304,6 +5304,10 @@ dependencies = [
|
||||
"tracing",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "reth-trie"
|
||||
version = "0.1.0"
|
||||
|
||||
[[package]]
|
||||
name = "revm"
|
||||
version = "3.1.0"
|
||||
|
||||
@@ -40,6 +40,7 @@ members = [
|
||||
"crates/tracing",
|
||||
"crates/tasks",
|
||||
"crates/transaction-pool",
|
||||
"crates/trie",
|
||||
]
|
||||
exclude = ["crate-template"]
|
||||
default-members = ["bin/reth"]
|
||||
|
||||
12
crates/trie/Cargo.toml
Normal file
12
crates/trie/Cargo.toml
Normal file
@@ -0,0 +1,12 @@
|
||||
[package]
|
||||
name = "reth-trie"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
license = "MIT OR Apache-2.0"
|
||||
repository = "https://github.com/paradigmxyz/reth"
|
||||
readme = "README.md"
|
||||
description = """
|
||||
Merkle trie implementation
|
||||
"""
|
||||
|
||||
[dependencies]
|
||||
10
crates/trie/src/lib.rs
Normal file
10
crates/trie/src/lib.rs
Normal file
@@ -0,0 +1,10 @@
|
||||
#![warn(missing_docs, unreachable_pub)]
|
||||
#![deny(unused_must_use, rust_2018_idioms)]
|
||||
#![doc(test(
|
||||
no_crate_inject,
|
||||
attr(deny(warnings, rust_2018_idioms), allow(dead_code, unused_variables))
|
||||
))]
|
||||
|
||||
//! The implementation of Merkle Patricia Trie, a cryptographically
|
||||
//! authenticated radix trie that is used to store key-value bindings.
|
||||
//! <https://ethereum.org/en/developers/docs/data-structures-and-encoding/patricia-merkle-trie/>
|
||||
Reference in New Issue
Block a user