c/rust · by snaggen@programming.dev · 2yThis Week in Rust 511 https://this-week-in-rust.org/blog/2023/09/06/this-week-in-rust-511/19 points · 4 comments · view on lemmy.world
4 Comments
robinm@programming.dev · 6 pts · 2y
I did not saw Elevate Your Rust Code: The Art of Separating Actions and Calculations in my feed before. It was a good read
DrDeadCrash@programming.dev · 1 pts · 2y
Thank you, that was a good read.
sirdorius@programming.dev · 2 pts · 2y
just is a really cool addition to cargo projects. I would have liked it if cargo had custom tasks like npm or gradle, but a make style runner with saner configuration is good as well.
0xDEADBEEFCAFE@programming.dev · 2 pts · 2y
Take a look at xtask. It essentially relies on the fact that you can add
cargoaliases in local files in order to execute specific packages.When I create a workspace that has some form of code generation I like to overwrite
cargo gento whatever is doing the generating.