Open shekhirin opened 3 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?
the template would not be on the same workspace, are we okay with that
yeah, totally
I am applying to this issue via OnlyDust platform.
Describe the feature
We should have
cargo-generate
templates in the repo. They should include minimal templates to bootstrap the following projects:simple
– https://github.com/paradigmxyz/reth/blob/0de932d1746b05f695ba3ca8420dac0102227f12/bin/reth/src/main.rs#L23-L29exex
– https://github.com/paradigmxyz/reth/tree/main/examples/exex/minimalrpc
– https://github.com/paradigmxyz/reth/tree/main/examples/node-custom-rpcpayload-builder
– https://github.com/paradigmxyz/reth/tree/main/examples/custom-payload-builderThen, users could do
cargo generate paradigmxyz/reth
, and choose one of the templates in a selector.Additional context
No response