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"
|
version = "0.1.0"
|
||||||
authors = ["Harald Hoyer <harald@redhat.com>"]
|
authors = ["Harald Hoyer <harald@redhat.com>"]
|
||||||
edition = "2018"
|
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]
|
[features]
|
||||||
default = [ ]
|
default = [ ]
|
||||||
no-fileline = []
|
no-fileline = []
|
||||||
display-cause = []
|
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
|
`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.
|
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.
|
`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.
|
It encapsulates all types, which have `Display + Debug` and can store the error cause internally.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue