Veetaha 😳
veetaha.bsky.social
Veetaha 😳
@veetaha.bsky.social
Maintainer of the Rust crate for generating builders `bon` https://github.com/elastio/bon

Rust's place is in your blood. Khem 😳... I mean in your prod 🐱
GH merge queues suck a lot. They miss features that bors provides, and I don't think github's merge queues really have the competitive advantage. Alas, bors is no longer maintained and I'd recommend you to take a look at maintained alternatives such as the mergify bot.
February 7, 2025 at 4:48 AM
... Bors-ng no longer receives updates, and what I did in my fork was that I just fixed its heroku integration. At that time heroku removed support for the old Postgres version bors was using, so I had to upgrade bors to the version where it used a newer Postgres version to make it work...
February 7, 2025 at 4:44 AM
Hi! Sorry, didn't check bsky for some time.
I'm using bors rather because I've been using it historically, and it's not easy to replace it at this point. I'm hosting it on heroku, and it's maintenance almost has never been a problem except for occasional rare hiccups fixed by restarts. But...
February 7, 2025 at 4:40 AM
Other than that, there are other features such as function/method-based builders and improvements that `bon` has implemented according to the lessons learned from derive_builder and other builder crates. You can see a comparison table here: bon-rs.com/guide/altern...
Alternatives | Bon
Next-gen compile-time-checked builder generator, named function's arguments, and more!
bon-rs.com
December 4, 2024 at 1:48 PM
Hi! The main downside of derive_builder for me is that the `build()` method of its builders always returns a `Result`. That result can be `Err` if you forgot to set the value of one of the required fields. Bon uses the typestate pattern to validate for this at compile time and get rid of the Result
December 4, 2024 at 1:44 PM
Finally, the real bible 🥰
December 2, 2024 at 3:48 AM