13 releases
0.1.0 | Sep 11, 2024 |
---|---|
0.1.0-rc.2 | Sep 9, 2024 |
0.1.0-pre8 | Jan 1, 2024 |
0.1.0-pre7 | Dec 15, 2023 |
0.1.0-alpha.9 | Mar 30, 2024 |
#652 in Rust patterns
30,774 downloads per month
Used in 59 crates
(4 directly)
32KB
562 lines
rancor
Rancor provides scalable and efficient error handling without using type composition.
Documentation
- rancor, a scalable and efficient error handling library
lib.rs
:
rancor
rancor provides scalable and efficient error handling without using type composition. This makes it best-suited for situations where:
- Programmatic error introspection is not useful
- Functions may error, but succeed most of the time
- Errors should provide as much useful detail as possible when emitted
- Use cases include both
no_std
and targets with support forstd
Features
alloc
: Provides theBoxedError
type. Enabled by default.
Dependencies
~265–720KB
~17K SLoC