elastio/bon
Next-gen compile-time-checked builder generator, named function's arguments, and more!
Leverages the typestate pattern to enforce compile-time correctness—required parameters must be set before calling `build()` or `call()`, and duplicate setter calls are prevented entirely. Supports both structs via `#[derive(Builder)]` and functions/methods via `#[builder]` attributes, with full compatibility for `async`, generic, and fallible signatures. Works in `no_std` environments and requires only Rust 1.59.0+.
1,991 stars and 4,155,393 monthly downloads. Actively maintained with 4 commits in the last 30 days.
Stars
1,991
Forks
38
Language
Rust
License
Apache-2.0
Category
Last pushed
Mar 13, 2026
Monthly downloads
4,155,393
Commits (30d)
4
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/elastio/bon"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related tools
lerouxrgd/rsgen-avro
Command line and library for generating Rust types from Avro schemas
seaofvoices/darklua
A command line tool that transforms Lua code
usethesource/rascal
The implementation of the Rascal meta-programming language (including interpreter, type checker,...
JacquesCarette/Drasil
Generate all the things (focusing on research software)
finos/morphir-elm
Tools to work with the Morphir IR in Elm.