mirror of
https://github.com/haraldh/chainerror.git
synced 2025-01-31 00:56:41 +01:00
Cargo update
This commit is contained in:
parent
0abcc99d98
commit
dad8c20f0c
10
Cargo.toml
10
Cargo.toml
|
@ -3,9 +3,17 @@ name = "chainerror"
|
|||
version = "0.1.0"
|
||||
authors = ["Harald Hoyer <harald@redhat.com>"]
|
||||
edition = "2018"
|
||||
license = "MIT"
|
||||
documentation = "https://docs.rs/chainerror"
|
||||
homepage = "https://haraldh.github.io/chainerror/"
|
||||
repository = "https://github.com/haraldh/chainerror"
|
||||
description = "Yet another error boilerplate library."
|
||||
keywords = ["error"]
|
||||
categories = ["rust-patterns"]
|
||||
readme = "README.md"
|
||||
|
||||
[features]
|
||||
default = [ ]
|
||||
no-fileline = []
|
||||
display-cause = []
|
||||
no-debug-cause = []
|
||||
no-debug-cause = []
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
`chainerror` provides an error backtrace like `failure` without doing a real backtrace, so even after you `strip` your
|
||||
binaries, you still have the error backtrace.
|
||||
|
||||
`chainerror` has no depenendencies!
|
||||
|
||||
`chainerror` uses `.source()` of `std::error::Error` along with `line()!` and `file()!` to provide a nice debug error backtrace.
|
||||
It encapsulates all types, which have `Display + Debug` and can store the error cause internally.
|
||||
|
||||
|
|
Loading…
Reference in a new issue