this post was submitted on 07 Sep 2023
21 points (100.0% liked)

Rust

5884 readers
35 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

[email protected]

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS
21
This Week in Rust 511 (this-week-in-rust.org)
submitted 1 year ago by snaggen to c/rust
you are viewing a single comment's thread
view the rest of the comments
[โ€“] sirdorius 2 points 1 year ago (1 children)

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 3 points 1 year ago

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.