Flexible concrete Error type built on std::error::Error (by dtolnay)


Basic anyhow repo stats
18 days ago

dtolnay/anyhow is an open source project licensed under GNU General Public License v3.0 or later which is an OSI approved license.

Anyhow Alternatives

Similar projects and alternatives to anyhow
  • GitHub repo rust

    Empowering everyone to build reliable and efficient software.

  • GitHub repo Mockito

    Most popular Mocking framework for unit tests written in Java

  • GitHub repo structopt

    Parse command line arguments by defining a struct.

  • GitHub repo cargo-edit

    A utility for managing cargo dependencies from the command line.

  • GitHub repo thiserror

    derive(Error) for struct and enum error types

  • GitHub repo color-eyre

    Custom hooks for colorful human oriented error reports via panics and the eyre crate

  • GitHub repo pico-args

    An ultra simple CLI arguments parser.

  • GitHub repo grab-xkcd

    Downloads an XKCD comic

NOTE: The number of mentions on this list indicates mentions on common posts. Hence, a higher number means a better anyhow alternative or higher similarity.


Posts where anyhow has been mentioned. We have used some of these posts to build our list of alternatives and similar projects - the last one was on 2021-04-08.
  • Can we please stop downvoting people who dislike Rust? | 2021-04-08
    Have you tried anyhow and thiserror for making it as simple as .context("Message") or ? to type-convert and propagate errors up the call stack?
  • Rust: Structuring and handling errors in 2020 (2020) | 2021-01-16
    You might like 'anyhow':
  • Diving into Rust with a CLI | 2021-01-05
    To let main() handle our errors, it needs to return a Result as well. Since we'll be dealing all kinds of different errors from different crates, it's helpful to have some convenience methods and representation for handling all this. The anyhow crate does just this!