@snaggen to Rust • 1 year agoThis Week in Rust 511this-week-in-rust.orgmessage-square4arrow-up121arrow-down10
arrow-up121arrow-down1external-linkThis Week in Rust 511this-week-in-rust.org@snaggen to Rust • 1 year agomessage-square4
minus-square@sirdoriuslink2•1 year agojust 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.
minus-square@0xDEADBEEFCAFElink3•1 year agoTake 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.
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
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.