This repository was archived by the owner on Aug 16, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +14
-6
lines changed Expand file tree Collapse file tree 4 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 1
- # Unreleased
1
+ # 0.12.2
2
+ - [ allow ` Error::description ` to be used for rust below 1.42] ( https://github.com/rust-lang-nursery/error-chain/pull/285 )
3
+ - [ Improvements to has_backtrace_depending_on_env] ( https://github.com/rust-lang-nursery/error-chain/pull/277 )
4
+ - Backtrace support now requires rust 1.32.0
2
5
3
6
# 0.12.1
4
7
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " error-chain"
3
- version = " 0.12.1 " # remember to update html_root_url
3
+ version = " 0.12.2 " # remember to update html_root_url
4
4
authors = [ " Brian Anderson <banderson@mozilla.com>" ,
5
5
" Paul Colomiets <paul@colomiets.name>" ,
6
6
" Colin Kiegel <kiegel@gmx.de>" ,
7
- " Yamakaky <yamakaky@yamaworld.fr>" ]
7
+ " Yamakaky <yamakaky@yamaworld.fr>" ,
8
+ " Andrew Gauger <andygauge@gmail.com>" ]
8
9
description = " Yet another error boilerplate library."
9
10
keywords = [" error" ]
10
11
categories = [" rust-patterns" ]
Original file line number Diff line number Diff line change @@ -73,14 +73,18 @@ macro_rules! impl_error_chain_cause_or_source {
73
73
#[ cfg( has_error_description_deprecated) ]
74
74
#[ macro_export( local_inner_macros) ]
75
75
macro_rules! call_to_deprecated_description {
76
- ( $e: ident) => { "" } ;
76
+ ( $e: ident) => {
77
+ ""
78
+ } ;
77
79
}
78
80
79
81
#[ doc( hidden) ]
80
82
#[ cfg( not( has_error_description_deprecated) ) ]
81
83
#[ macro_export( local_inner_macros) ]
82
84
macro_rules! call_to_deprecated_description {
83
- ( $e: ident) => { :: std:: error:: Error :: description( $e) } ;
85
+ ( $e: ident) => {
86
+ :: std:: error:: Error :: description( $e)
87
+ } ;
84
88
}
85
89
86
90
/// Prefer to use `error_chain` instead of this macro.
Original file line number Diff line number Diff line change 1
1
#![ deny( missing_docs) ]
2
- #![ doc( html_root_url = "https://docs.rs/error-chain/0.12.1 " ) ]
2
+ #![ doc( html_root_url = "https://docs.rs/error-chain/0.12.2 " ) ]
3
3
4
4
//! A library for consistent and reliable error handling
5
5
//!
You can’t perform that action at this time.
0 commit comments