rofld
rofld copied to clipboard
Consider using cargo workspaces over the `cargo` script
I actually use both (see Cargo.toml
in root).
What I found, however, that there doesn't seem to be a handy way of executing specific Cargo commands against specific crates. At best, you can cd $CRATE_DIR && cargo stuff
, which is exactly what my script is doing in a more convenient way :)
In my other project I eventually upgrade to Python-based task runner because I had non-cargo related things, too. Ideally I'd like a Rust equivalent of Grunt etc., but I haven't seen anything like that yet.
Ah, missed that! Can you not run cargo run -p rofld
, though?
Oh hey, I totally wasn't aware of this switch! That not bad at all. Perhaps better than a hacky shell script :)
I'll update the README's but I can't promise I'll start using it exclusively ;p