paradigmxyz / reth

Modular, contributor-friendly and blazing-fast implementation of the Ethereum protocol, in Rust
https://reth.rs/
Apache License 2.0
3.51k stars 903 forks source link

Templates for `cargo-generate` #8773

Open shekhirin opened 3 weeks ago

shekhirin commented 3 weeks ago

Describe the feature

We should have cargo-generate templates in the repo. They should include minimal templates to bootstrap the following projects:

Then, users could do cargo generate paradigmxyz/reth, and choose one of the templates in a selector.

Additional context

No response

JosepBove commented 2 weeks ago

This would mean we would have to decouple the dependencies on the examples as the template would not be on the same workspace, are we okay with that? If that's negative cargo generate enables Rhai scripting, maybe we could find a workaround but it sounds over-complicated. What's your opinion on this?

shekhirin commented 1 week ago

the template would not be on the same workspace, are we okay with that

yeah, totally

Mitish98 commented 6 days ago

I am applying to this issue via OnlyDust platform.