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 +17
-10
lines changed Expand file tree Collapse file tree 4 files changed +17
-10
lines changed Original file line number Diff line number Diff line change 11# Unreleased
22
3+ # 0.12.1
4+
5+ - [ ` std::error::Error::cause ` deprecation update] ( https://github.com/rust-lang-nursery/error-chain/pull/255 )
6+ - [ Macro invocations use 2018 style] ( https://github.com/rust-lang-nursery/error-chain/pull/253 )
7+
38# 0.12.0
49
510- [ Remove ` impl Deref<Kind> for Error ` ] ( https://github.com/rust-lang-nursery/error-chain/pull/192 )
Original file line number Diff line number Diff line change 11[package ]
22name = " error-chain"
3- version = " 0.12.0 " # remember to update html_root_url
3+ version = " 0.12.1-rc.1 " # remember to update html_root_url
44authors = [ " Brian Anderson <banderson@mozilla.com>" ,
55 " Paul Colomiets <paul@colomiets.name>" ,
66 " Colin Kiegel <kiegel@gmx.de>" ,
Original file line number Diff line number Diff line change 1- // From https://github.com/tailhook/quick-error
2- // Changes:
3- // - replace `impl Error` by `impl Item::description`
4- // - $imeta
1+ /// From https://github.com/tailhook/quick-error
2+ /// Changes:
3+ /// - replace `impl Error` by `impl Item::description`
4+ /// - $imeta
55
6- // Because of the `#[macro_export(local_inner_macros)]` usage on `impl_error_chain_kind` that macro
7- // will only look inside this crate for macros to invoke. So using `stringify` or `write` from
8- // the standard library will fail. Thus we here create simple wrappers for them that are not
9- // exported as `local_inner_macros`, and thus they can in turn use the standard library macros.
6+ /// Because of the `#[macro_export(local_inner_macros)]` usage on `impl_error_chain_kind` that macro
7+ /// will only look inside this crate for macros to invoke. So using `stringify` or `write` from
8+ /// the standard library will fail. Thus we here create simple wrappers for them that are not
9+ /// exported as `local_inner_macros`, and thus they can in turn use the standard library macros.
1010#[ macro_export]
1111macro_rules! stringify_internal {
1212 ( $( $t: tt) * ) => { stringify!( $( $t) * ) }
1313}
14+
15+ /// Macro used interally for output expanding an expression
1416#[ macro_export]
1517macro_rules! write_internal {
1618 ( $dst: expr, $( $arg: tt) * ) => ( write!( $dst, $( $arg) * ) )
Original file line number Diff line number Diff line change 11#![ deny( missing_docs) ]
2- #![ doc( html_root_url = "https://docs.rs/error-chain/0.12.0 " ) ]
2+ #![ doc( html_root_url = "https://docs.rs/error-chain/0.12.1-rc.1 " ) ]
33
44//! A library for consistent and reliable error handling
55//!
You can’t perform that action at this time.
0 commit comments