• sirdorius@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    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
      link
      fedilink
      arrow-up
      2
      ·
      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.