| 1 |
[package] |
| 2 |
name = "anyhow" |
| 3 |
version = "1.0.100" |
| 4 |
authors = ["David Tolnay <[email protected]>"] |
| 5 |
categories = ["rust-patterns", "no-std"] |
| 6 |
description = "Flexible concrete Error type built on std::error::Error" |
| 7 |
documentation = "https://docs.rs/anyhow" |
| 8 |
edition = "2018" |
| 9 |
keywords = ["error", "error-handling"] |
| 10 |
license = "MIT OR Apache-2.0" |
| 11 |
repository = "https://github.com/dtolnay/anyhow" |
| 12 |
rust-version = "1.39" |
| 13 |
|
| 14 |
[features] |
| 15 |
default = ["std"] |
| 16 |
std = [] |
| 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. |
| 23 |
backtrace = { version = "0.3.51", optional = true } |
| 24 |
|
| 25 |
[dev-dependencies] |
| 26 |
futures = { version = "0.3", default-features = false } |
| 27 |
rustversion = "1.0.6" |
| 28 |
syn = { version = "2.0", features = ["full"] } |
| 29 |
thiserror = "2" |
| 30 |
trybuild = { version = "1.0.108", features = ["diff"] } |
| 31 |
|
| 32 |
[package.metadata.docs.rs] |
| 33 |
targets = ["x86_64-unknown-linux-gnu"] |
| 34 |
rustdoc-args = [ |
| 35 |
"--generate-link-to-definition", |
| 36 |
"--generate-macro-expansion", |
| 37 |
"--extern-html-root-url=core=https://doc.rust-lang.org", |
| 38 |
"--extern-html-root-url=alloc=https://doc.rust-lang.org", |
| 39 |
"--extern-html-root-url=std=https://doc.rust-lang.org", |
| 40 |
] |