rust-typed-builder
buildstructor
Our great sponsors
rust-typed-builder | buildstructor | |
---|---|---|
6 | 2 | |
823 | 57 | |
- | - | |
8.3 | 5.9 | |
13 days ago | 8 days ago | |
Rust | Rust | |
Apache License 2.0 | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rust-typed-builder
-
Introducing tidy-builder: A Compile-time Correct Builder Generator in Rust
derive_builder works in runtime - you have to unwrap built result. And code editors cannot use auto-import builder-types. That's why I switched to [typed-builder|https://github.com/idanarye/rust-typed-builder] which looks similar to builder-pattern but more popular.
-
Should I start renaming my crate repositories that have "rust" in their names?
I'm the author of the typed-builder crate (and a couple of other crates in a similar position). The name of the crate's repository on GitHub is rust-typed-builder. Does the new trademark policy mean I have to change the repository's name to typed-builder-rs or typed-builder.rs or something similar, or am I in the clear because only the repository name is has the word "rust" in it and the crate itself is only named "typed-builder"?
-
Hey Rustaceans! Got a question? Ask here! (42/2022)!
There are also crates which can do that for you (e.g. https://github.com/idanarye/rust-typed-builder).
-
Survey of bad error messages emitted by the "misuse" of trait heavy crates
I can open a PR if desired but typed-builder is a big example for me of where this would be super useful. It's a good example of using traits/type safety for compile-time guarantees but the error messages are really subpar compared to the standard Rust experience, so feels like a very arbitrary compromise on Rust's strengths.
-
Buildstructor: a proc macro to build builders from constructors
Yes! The inspiration came from: * rust-typed-builder which is the struct equivalent of this crate. * https://users.rust-lang.org/t/typesafe-builder-design/58784
-
Thoughts on Rust Builder Pattern?
Rust Typed Builder
buildstructor
-
Buildstructor: a proc macro to build builders from constructors
Opened https://github.com/BrynCooke/buildstructor/issues/45 This could be super useful for API creation.
What are some alternatives?
patterns - A catalogue of Rust design patterns, anti-patterns and idioms
maud - :pencil: Compile-time HTML templates for Rust
crab - A community fork of a language named after a plant fungus. All of the memory-safe features you love, now with 100% less bureaucracy!
regexm - A Rust macro for writing regex pattern matching.
diesel - A safe, extensible ORM and Query Builder for Rust
rust-foundation-community-grant
tower-biscuit-auth - Integrating Biscuit authentication with the Tower ecosystem.
console - a debugger for async rust!
rustlings-solutions-5 - Rustlings 5 (5.2.1) Solutions
uom - Units of measurement -- type-safe zero-cost dimensional analysis
rust-analyzer - A Rust compiler front-end for IDEs
rfcs - RFCs for changes to Rust