You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We (well, @jprochazk) have started porting more and more .sh and .py scripts to Rust, and so far I think it has been a win. However, so far each such "Rust script" has become its own separate crate, which I think is the wrong direction:
It requires many files (crate folder, Cargo.toml, src folder, main.rs, maybe a README.md)
It makes it harder to add a new quick command (a lot of boilerplate setting up the above files)
So, I think we should consider an xtask-esque approach, where a single Rust binary multiplexes out into different Rust "scripts", so that each script is just a file added to the same crate.
The text was updated successfully, but these errors were encountered:
We (well, @jprochazk) have started porting more and more
.sh
and.py
scripts to Rust, and so far I think it has been a win. However, so far each such "Rust script" has become its own separate crate, which I think is the wrong direction:Cargo.toml
,src
folder,main.rs
, maybe aREADME.md
)So, I think we should consider an xtask-esque approach, where a single Rust binary multiplexes out into different Rust "scripts", so that each script is just a file added to the same crate.
The text was updated successfully, but these errors were encountered: