Releases: sonro/narrate
Releases · sonro/narrate
0.4.2
0.4.1
Added
Error::msg
creation method.
Documentation
- Add rustdoc for
Error
help methods.
0.4.0
Added
- Features for conditional compilation of separate utilities. See #12.
- All features enabled by default [report, error, cli-error, anyhow]. See #12.
cicheck
shell script for quickly checking if repo will pass CI checks.anyhow
error reporting.
Changed
- [BREAKING] Seal
ExitCode
trait. It was only useful withCliError
anyway. Now the API reflects this. - [BREAKING] Mark
CliError
as
non_exhaustive
to allow for more variants in the future. Error
Debug
formatting is now similar toreport::err_full
. Now the
library is more similar anyhow in the wayResult
can be used.
Documentation
- Fixed Minimum Support Rust Version formatting in
Cargo.toml
. - Add more examples.
API docs
- Add crate root.
- Add
report
module.
ErrorWrap
rustdoc
- Fixed wrong method names.
- Added more lazy evaluation information.
- Updated example to be more complete.
0.3.0
Added
add_help
andadd_help_with
methods forError
.CliError
common trait implementations.
Changed
- Deprecate
set_help
andset_help_owned
methods forError
type. - [BREAKING]
Display
implementation simplified forError
. - [BREAKING]
report::err
module now only prints relevant help. - [BREAKING]
Error::downcast
method no longer returns ananyhow::Result
.
Testing
Add Integration Tests
- Report module.
Error
.Chain
.ExitCode
.CliError
.- Further
wrap
tests.
Documentation
- Add minimum supported rust version: 1.61