oxidecomputer / oxidecomputer/hubris
Add ability for xtask to generate api/server template
Open
Nobody has claimed this yet.
developer-experience
- Dominant language
- Rust
- Stars
- 3.6k
- Forks
- 239
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 23
Description
A common development pattern for solving my-thing is to create drv/my-thing-api and a drv/my-thing-server directories with the associated Rust boilerplate as well as a idl/my-thing.idol for the IDL. Currently this is a manual, error-prone (copy pasta) process.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the repository's xtask entry point and inspect existing drv/my-thing-api, drv/my-thing-server, and idl/my-thing.idol layouts. Define done as an xtask command that generates the associated Rust boilerplate and IDL structure for a named my-thing without manual copy-paste.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100