]> git.proxmox.com Git - rustc.git/blame - src/vendor/error-chain-0.8.1/README.md
New upstream version 1.25.0+dfsg1
[rustc.git] / src / vendor / error-chain-0.8.1 / README.md
CommitLineData
abe05a73
XL
1# error-chain - Consistent error handling for Rust
2
3[![Build Status](https://api.travis-ci.org/brson/error-chain.svg?branch=master)](https://travis-ci.org/brson/error-chain)
4[![Latest Version](https://img.shields.io/crates/v/error-chain.svg)](https://crates.io/crates/error-chain)
5[![License](https://img.shields.io/github/license/brson/error-chain.svg)](https://github.com/brson/error-chain)
6
7`error-chain` makes it easy to take full advantage of Rust's error
8handling features without the overhead of maintaining boilerplate
9error types and conversions. It implements an opinionated strategy for
10defining your own error types, as well as conversions from others'
11error types.
12
13[Documentation (crates.io)](https://docs.rs/error-chain).
14
15[Documentation (master)](https://brson.github.io/error-chain).
16
17## Quick start
18
19If you just want to set up your new project with error-chain,
20follow the [quickstart.rs] template, and read this [intro]
21to error-chain.
22
23[quickstart.rs]: https://github.com/brson/error-chain/blob/master/examples/quickstart.rs
24[intro]: http://brson.github.io/2016/11/30/starting-with-error-chain
25
26## Supported Rust version
27
28Please view the beginning of the [Travis configuration file](.travis.yml)
29to see the oldest supported Rust version.
30
31Note that `error-chain` supports older versions of Rust when built with
32`default-features = false`.
33
34## License
35
36MIT/Apache-2.0