Top 3 Rust Error Projects
-
Project mention: What languages have the best error message rendering styles in the terminal? | /r/ProgrammingLanguages | 2023-07-12
To complement, Nushell's error rendering is done with miette (whose name is a reference to this cute meme AFAIK). There is also another notable Rust error rendering lib: ariadne. So you can get the same beautiful error rendering in your own projects :D
-
enum-code
derive(Code) simplifies error handling by providing an easy-to-use enumeration of error codes
Project mention: Just open source a process macro「enum-code」for mapping enum values to error codes in Rust. | /r/rust | 2023-06-14You can find the code on Github: https://github.com/Kunduin/enum-code and crates.io: https://crates.io/crates/enum-code.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
https://github.com/MaulingMonkey/winresult/
Another project: thindx. Bindings for d3dcompiler + d3d9 + xinput have a lot of enums and flags:
• 50 results in 49 files for flags!: https://github.com/search?q=repo%3AMaulingMonkey%2Fthindx%20...
• 77 results in 69 files for enumish!: https://github.com/search?q=repo%3AMaulingMonkey%2Fthindx+en...
• I still do things by hand somtimes, for reasons that elude my recollection: https://github.com/MaulingMonkey/thindx/blob/127d75f9de91f73...
And these are baby numbers compared to an actual professional gamedev codebase. Attention to detail makes me fairly comfortable with this much hand-generated nonsense in my one man show, but bugs still crop up... and there are people I would dread handing maintainence of such a project over to that I've worked with in a professional capacity, who simply do not care to exercise the same level of care as I do when editing such stuff.
Index
What are some of the best open-source Error projects in Rust? This list will help you:
Project | Stars | |
---|---|---|
1 | ariadne | 1,552 |
2 | enum-code | 6 |
3 | winresult | 0 |