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:
Dan Cline
2022-09-30 12:27:52 -04:00
committed by GitHub
parent f3b26fd91b
commit 6ff7cf5a74
4 changed files with 24 additions and 1 deletions

10
crates/net/p2p/Cargo.toml Normal file
View 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]

View 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.