Improve compil time of cargo-prosa package
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 9
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
The compilation take a lot of time due to build.rs script from a cargo-prosa package.
This is visible through cargo build --timings
The time, come from a sub package generated by the build.rs script to generate configuration files.
It need to be done in another way to gain time.
One thing that could be done, is to do a macro to generate the configuration file.
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 inspecting the cargo-prosa package's build.rs script and run cargo build --timings to identify the generated subpackage responsible for the delay. Compare approaches for generating configuration files, including the suggested macro, and verify that configuration generation still works while compilation time improves.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- build-system
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100