enum-code
derive(Code) simplifies error handling by providing an easy-to-use enumeration of error codes (by Kunduin)
nutype
Rust newtype with guarantees 🇺🇦 🦀 (by greyblake)
enum-code | nutype | |
---|---|---|
1 | 7 | |
6 | 1,211 | |
- | - | |
5.3 | 8.9 | |
11 months ago | about 1 month ago | |
Rust | Rust | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
enum-code
Posts with mentions or reviews of enum-code.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-14.
-
Just open source a process macro「enum-code」for mapping enum values to error codes in Rust.
You can find the code on Github: https://github.com/Kunduin/enum-code and crates.io: https://crates.io/crates/enum-code.
nutype
Posts with mentions or reviews of nutype.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-27.
- Nutype 0.4.0 released
- Nutype 0.3.0 released
-
Nutype 0.2.0 is released.
The release notes: https://github.com/greyblake/nutype/releases/tag/v0.2.0
-
Rust for Web Development | An Honest Evaluation
Regarding your macro system for "new nominal types" - are you talking about something in the vein of nutype or prae?
-
Nutype: the newtype with guarantees
I need some time to think about this. If you don't mind I pasted your message to a Github discussion , so I don't forget it: https://github.com/greyblake/nutype/discussions/11
What are some alternatives?
When comparing enum-code and nutype you can also consider the following projects:
crates.io - The Rust package registry
hado-rs