1 | [package] |
2 | name = "anyhow" |
3 | version = "1.0.81" |
4 | authors = ["David Tolnay <dtolnay@gmail.com>" ] |
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 = "1.0.45" |
30 | trybuild = { version = "1.0.66" , features = ["diff" ] } |
31 | |
32 | [lib] |
33 | doc-scrape-examples = false |
34 | |
35 | [package.metadata.docs.rs] |
36 | targets = ["x86_64-unknown-linux-gnu" ] |
37 | rustdoc-args = ["--cfg" , "doc_cfg" , "--generate-link-to-definition" ] |
38 | |