1[package]
2name = "anyhow"
3version = "1.0.81"
4authors = ["David Tolnay <dtolnay@gmail.com>"]
5categories = ["rust-patterns", "no-std"]
6description = "Flexible concrete Error type built on std::error::Error"
7documentation = "https://docs.rs/anyhow"
8edition = "2018"
9keywords = ["error", "error-handling"]
10license = "MIT OR Apache-2.0"
11repository = "https://github.com/dtolnay/anyhow"
12rust-version = "1.39"
13
14[features]
15default = ["std"]
16std = []
17
18[dependencies]
19# On compilers older than 1.65, features=["backtrace"] may be used to enable
20# backtraces via the `backtrace` crate. This feature has no effect on 1.65+
21# besides bringing in an unused dependency, as `std::backtrace` is always
22# preferred.
23backtrace = { version = "0.3.51", optional = true }
24
25[dev-dependencies]
26futures = { version = "0.3", default-features = false }
27rustversion = "1.0.6"
28syn = { version = "2.0", features = ["full"] }
29thiserror = "1.0.45"
30trybuild = { version = "1.0.66", features = ["diff"] }
31
32[lib]
33doc-scrape-examples = false
34
35[package.metadata.docs.rs]
36targets = ["x86_64-unknown-linux-gnu"]
37rustdoc-args = ["--cfg", "doc_cfg", "--generate-link-to-definition"]
38