rust·Rustbysnaggen This Week in Rust 511https://this-week-in-rust.org/blog/2023/09/06/this-week-in-rust-511/Open linkView original on programming.dev19Comments4
rrobinm programming.dev1Hide 1 replyI did not saw Elevate Your Rust Code: The Art of Separating Actions and Calculations in my feed before. It was a good read6
ssirdorius programming.dev1Hide 1 replyjust 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.2
00xDEADBEEFCAFE replyprogramming.devTake a look at xtask. It essentially relies on the fact that you can add cargo aliases 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 gen to whatever is doing the generating.2
I did not saw Elevate Your Rust Code: The Art of Separating Actions and Calculations in my feed before. It was a good read
Thank you, that was a good read.
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.
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.