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

Deprecate failure #347

Merged
merged 1 commit into from
May 2, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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