wherr
bounded-static
wherr | bounded-static | |
---|---|---|
2 | 2 | |
49 | 8 | |
- | - | |
6.8 | 6.6 | |
7 months ago | 3 months ago | |
Rust | Rust | |
GNU General Public License v3.0 or later | Apache License 2.0 |
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.
wherr
-
Enhance Rust errors with file and line details
I've added a branch for this: https://github.com/joelonsql/wherr/tree/track_caller
`src/lib.rs` is your code copy/pasted, with the addition of `impl<'a, E: StdError + 'a> From for Box` like suggested (and also just `Send`).
I've also added a `fn inner_error<'a>(&'a self) -> &'a (dyn StdError + 'a);`, but not sure this is the proper way.
I can't wrap my head around how to match on the inner error though, see `examples/matching_inner.rs`:
match my_error_wrapped().unwrap_err() {
bounded-static
-
borrowme 0.0.10 - the missing compound borrowing for Rust
I needed something similar a few years ago and went the Cow route and eventually pulled it into a crate: https://github.com/fujiapple852/bounded-static
-
What’s everyone working on this week (8/2022)?
Finished off and published the (very niche) bounded_static crate.
What are some alternatives?
svix-webhooks - The enterprise-ready webhooks service 🦀
Vital-Utilities - Vital Utilities. Modern Windows Task Manager alternative with bells and whistles
rust-playground - The Rust Playground
pdc
headcrab - A modern Rust debugging library 🦀
competitive-programming-rs - Algorithm Snippets for Competitive Programming in Rust
MakeGestureDataset - A Rust GUI application to quickly put together a dataset of gestures.
jpv - My personal Japanese dictionary based on JMdict
borrowme - The missing compound borrowing for Rust.
cargo-msrv - 🦀 Find the minimum supported Rust version (MSRV) for your project