Musings about Technology, free software and computersatom feed

From<T> and Into<T>

From and Into are my new best friends: https://gitlab.com/mwbot-rs/mwbot/-/merge_requests/10/Why require users to specify their request parameters in one specific format when you could just accept every format? \o/

cargo-hack is the coolest

cargo-hack is the coolest #Rust testing tool I've learned about so far: . With a few parameters, you can test every feature combination as well as against a version range of Rust versions. My CI is now twice as slow, but I'm actually verifying each feature works, and the MSRV…

Cross-building Windows binaries in Rust

It was surprisingly simple to set up cross-building for #Windows binaries on my #Rust projects in CI: https://gitlab.com/legoktm/rust-ci-pipeline/-/commit/21c61d0412e6636c110fbd0461908c93ff5eda7cAnd the one place I was using Unix-specific code has been caught at compile time \o/Whenever I make new releases, Windows binaries will be uploaded by CI, but in the meantime here's my…