mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
Merge pull request #2 from foundry-rs/matt/add-crate-template
feat: add crate template
This commit is contained in:
4
Cargo.lock
generated
4
Cargo.lock
generated
@ -5,3 +5,7 @@ version = 3
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "reth"
|
name = "reth"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "reth-crate-template"
|
||||||
|
version = "0.1.0"
|
||||||
|
|||||||
@ -3,6 +3,11 @@ name = "reth"
|
|||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
|
[workspace]
|
||||||
|
members = [
|
||||||
|
"crate-template"
|
||||||
|
]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|||||||
9
crate-template/Cargo.toml
Normal file
9
crate-template/Cargo.toml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
[package]
|
||||||
|
name = "reth-crate-template"
|
||||||
|
version = "0.1.0"
|
||||||
|
edition = "2021"
|
||||||
|
license = "MIT OR Apache-2.0"
|
||||||
|
repository = "https://github.com/foundry-rs/reth"
|
||||||
|
readme = "README.md"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
8
crate-template/src/lib.rs
Normal file
8
crate-template/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))
|
||||||
|
))]
|
||||||
|
|
||||||
|
//! <reth crate template>
|
||||||
@ -1 +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))
|
||||||
|
))]
|
||||||
|
|
||||||
|
//! <reth crate template>
|
||||||
|
|||||||
Reference in New Issue
Block a user