Rust rewrite, native Windows and Linux binaries
project-switch dropped Node and was rewritten in Rust. It’s the same tool and config, but it now ships as a single native binary that starts almost instantly, which matters for something you run constantly from the terminal.
Added 1
- Docker cross-compilation build (
docker-compose up build) that outputsbin/windows/project-switch.exeandbin/linux/project-switch
Changed 2
- Rewrote the CLI in Rust with
clap, keeping theswitch,add,currentandopencommands and the existing~/.project-switch.ymlformat - Startup time drops from roughly 100-200ms under Node to a few milliseconds as a native binary