project-error-handling
validator
Our great sponsors
project-error-handling | validator | |
---|---|---|
10 | 18 | |
263 | 1,802 | |
0.0% | - | |
0.0 | 6.8 | |
almost 2 years ago | 4 days ago | |
Rust | ||
Apache License 2.0 | MIT License |
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.
project-error-handling
-
Hey Rustaceans! Got a question? Ask here (16/2023)!
This actually is an example of where the compiler errors could (or should have) maybe provided more help or even the potential solution, it might be worth submitting this to the error handling group.
-
A guide to error handling in Rust
If anyone's interested in helping to shape the future of Rust's built-in error-handling story, there's an error handling project group that's been doing great work recently, e.g. the major effort to move the Error trait into libcore ( https://github.com/rust-lang/project-error-handling/issues/3 ) and stabilizing std::backtrace. You can follow along or get involved via the #project-error-handling channel on the Rust zulip: https://rust-lang.zulipchat.com/
-
Update on the effort to move the Error trait into core
Getting it into alloc would enable usage in a LOT more contexts, like WASM and kernel code. Does this need a distinct tracking issue outside the ticket for moving it to core or would that just add more administrata?
-
What do you NOT like about Rust?
without trolling https://github.com/rust-lang/project-error-handling exist and is far from having strong conclusion and anyway I will always favor enum Error anyway however I like the idea to have a opaque box in the enum for "this is a opaque error you can't deal with as a user of my api"
-
Possible ergonomic option for error handling: what features are needed for this to work?
IIRC, the Error Handling Project Group is aware of these ideas. If this kind of thing interests you and you want to contribute, you should look into getting involved with that group.
-
Rust: Enums to Wrap Multiple Errors
> you should have the underlying message of the std::io::Error
This is a point of debate[1] among the error-handling working group.
[1]: https://github.com/rust-lang/project-error-handling/issues/4...
-
Ergonomic error handling with Rust
Focusing on good error messages has permeated throughout the community. There's even the Error Handling Project Group if you weren't convinced how committed the language designers are to getting this right. There are a number of techniques we can use to make our errors more informative. Along the way, we will discuss the crates that can help.
-
A Small Rust 2021 Change Return Display From Main
The Error Handling Working Group is looking at potential breaking changes for embedded users. Maybe you could work within that group?
validator
- Choosing the Right Rust Web Framework: An Overview
-
Is implicit typing in Rust always guaranteed to have the same behavior?
(That's how certain kinds of extensibility work in the validator crate. You just impl a method and validator won't care where it comes from as long as it's in scope because it's built using declarative macros.)
-
Incomprehensible Performance Issues unraveled with Kubernetes Tracing Tools
The rust proc macro system is my absolute favorite feature of the language. One of my other favorite libraries is https://github.com/Keats/validator
-
garde: a validation library
Hi! I'm happy to announce the release of garde. In summary, this is a rewrite of the validator crate.
- Why use Rust on the back end?
-
Form Validation in Rust (Actix-Web)
Validator : Macros 1.1 custom derive to simplify struct validation inspired by marshmallow and Django validators
-
Any active open source repos built using Rust that need development ?
https://github.com/Keats/validator needs some help, it's a validation library that easily plugs into Web Development.
-
Is it possible to get both vector and string from single variable with serde_yaml?
(The validate attribute is from the validator crate.)
-
venial 0.1 - A lightweight alternative to syn
Would love to use it in https://github.com/Keats/validator when it's ready!
-
Show /r/rust: a Rust implementation of the Realworld demo app spec using Axum and SQLx, written by a co-author of SQLx.
Actually, /u/mehcode just reminded me that this exists: https://github.com/Keats/validator
What are some alternatives?
serenity - A Rust library for the Discord API.
axum - Ergonomic and modular web framework built with Tokio, Tower, and Hyper
PyO3 - Rust bindings for the Python interpreter
strictyaml - Type-safe YAML parser and validator.
eyre - A trait object based error handling type for easy idiomatic error handling and reporting in Rust applications
realworld-axum-sqlx - A Rust implementation of the Realworld demo app spec using Axum and SQLx.
goformat - Alternative to gofmt with configurable formatting style (indentation etc.)
rust-cpython - Rust <-> Python bindings
null - Nullable Go types that can be marshalled/unmarshalled to/from JSON.
cargo-leptos - Build tool for Leptos (Rust)
mirrord - Connect your local process and your cloud environment, and run local code in cloud conditions.