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 |
#823 in Rust patterns
47,827 downloads per month
Used in 136 crates
(10 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
~240–680KB
~16K SLoC