Give guidelines on how to write and publish a crate
deadghost opened this issue · 1 comments
deadghost commented
Some more guidelines on crates would be appreciated as to me it seems like the fundamental unit of pallet. Some things to include:
- Where to find crates (such that people don't unintentionally reinvent wheels)
- How to write a crate
- Which phases should do what
- Where to publish crates
deadghost commented
For example rstradling's nginx-crate uses the :run
phase to start nginx. The CLI command is service nginx start
. Should the phase that starts the service always be named :run
?