elastio/bon

Next-gen compile-time-checked builder generator, named function's arguments, and more!

64
/ 100
Established

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.

No Package No Dependents
Maintenance 16 / 25
Adoption 20 / 25
Maturity 16 / 25
Community 12 / 25

How are scores calculated?

Stars

1,991

Forks

38

Language

Rust

License

Apache-2.0

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.