mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: add p2p crate (#4)
* feat: add p2p crate * move p2p to net subfolder * add lib.rs and Cargo.toml to net * remove net crate, use explicit names in workspace
This commit is contained in:
10
crates/net/p2p/Cargo.toml
Normal file
10
crates/net/p2p/Cargo.toml
Normal file
@ -0,0 +1,10 @@
|
||||
[package]
|
||||
name = "reth-p2p"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
license = "MIT OR Apache-2.0"
|
||||
repository = "https://github.com/foundry-rs/reth"
|
||||
readme = "README.md"
|
||||
description = "Utilities for interacting with ethereum's peer to peer network."
|
||||
|
||||
[dependencies]
|
||||
8
crates/net/p2p/src/lib.rs
Normal file
8
crates/net/p2p/src/lib.rs
Normal file
@ -0,0 +1,8 @@
|
||||
#![warn(missing_debug_implementations, 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))
|
||||
))]
|
||||
|
||||
//! Utilities for interacting with ethereum's peer to peer network.
|
||||
Reference in New Issue
Block a user