Skip to content
This repository has been archived by the owner on Aug 16, 2021. It is now read-only.

Commit

Permalink
Deprecate failure. (#347)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbarsky committed May 2, 2020
1 parent e7817e4 commit 135e2a3
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ homepage = "https://rust-lang-nursery.github.io/failure/"
license = "MIT OR Apache-2.0"
name = "failure"
repository = "https://github.com/rust-lang-nursery/failure"
version = "0.1.7"

version = "0.1.8"
[dependencies.failure_derive]
optional = true
version = "0.1.7"
Expand All @@ -20,6 +20,9 @@ version = "0.3.3"
[workspace]
members = [".", "failure_derive"]

[badges]
maintenance = { status = "deprecated" }

[features]
default = ["std", "derive"]
#small-error = ["std"]
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# failure - a new error management story

**Notice**: `failure` is deprecated. If you liked `failure`'s API, consider using:
- [Anyhow](https://github.com/dtolnay/anyhow) is a good replacement for `failure::Error`.
- [thiserror](https://github.com/dtolnay/thiserror) is a good, near drop-in replacement for `#[derive(Fail)]`.

---

[![Build Status](https://travis-ci.org/rust-lang-nursery/failure.svg?branch=master)](https://travis-ci.org/rust-lang-nursery/failure)
[![Latest Version](https://img.shields.io/crates/v/failure.svg)](https://crates.io/crates/failure)
[![docs](https://docs.rs/failure/badge.svg)](https://docs.rs/failure)
Expand Down
5 changes: 4 additions & 1 deletion failure_derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name = "failure_derive"
repository = "https://github.com/rust-lang-nursery/failure"
homepage = "https://rust-lang-nursery.github.io/failure/"
documentation = "https://docs.rs/failure"
version = "0.1.7"
version = "0.1.8"
build = "build.rs"

[dependencies]
Expand All @@ -19,6 +19,9 @@ proc-macro2 = "1"
version = "0.1.0"
path = ".."

[badges]
maintenance = { status = "deprecated" }

[lib]
proc-macro = true

Expand Down

0 comments on commit 135e2a3

Please sign in to comment.