feat(trie): setup crate (#2166)

This commit is contained in:
Roman Krasiuk
2023-04-10 11:34:50 +03:00
committed by GitHub
parent 76c9a547b7
commit cbbd834575
4 changed files with 27 additions and 0 deletions

4
Cargo.lock generated
View File

@@ -5304,6 +5304,10 @@ dependencies = [
"tracing",
]
[[package]]
name = "reth-trie"
version = "0.1.0"
[[package]]
name = "revm"
version = "3.1.0"

View File

@@ -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
View 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
View 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/>