| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.68" |
| 15 |
name = "anyhow" |
| 16 |
version = "1.0.103" |
| 17 |
authors = ["David Tolnay <[email protected]>"] |
| 18 |
build = "build.rs" |
| 19 |
autolib = false |
| 20 |
autobins = false |
| 21 |
autoexamples = false |
| 22 |
autotests = false |
| 23 |
autobenches = false |
| 24 |
description = "Flexible concrete Error type built on std::error::Error" |
| 25 |
documentation = "https://docs.rs/anyhow" |
| 26 |
readme = "README.md" |
| 27 |
keywords = [ |
| 28 |
"error", |
| 29 |
"error-handling", |
| 30 |
] |
| 31 |
categories = [ |
| 32 |
"rust-patterns", |
| 33 |
"no-std", |
| 34 |
] |
| 35 |
license = "MIT OR Apache-2.0" |
| 36 |
repository = "https://github.com/dtolnay/anyhow" |
| 37 |
|
| 38 |
[package.metadata.docs.rs] |
| 39 |
targets = ["x86_64-unknown-linux-gnu"] |
| 40 |
rustdoc-args = [ |
| 41 |
"--generate-link-to-definition", |
| 42 |
"--generate-macro-expansion", |
| 43 |
"--extern-html-root-url=core=https://doc.rust-lang.org", |
| 44 |
"--extern-html-root-url=alloc=https://doc.rust-lang.org", |
| 45 |
"--extern-html-root-url=std=https://doc.rust-lang.org", |
| 46 |
] |
| 47 |
|
| 48 |
[features] |
| 49 |
backtrace = [] |
| 50 |
default = ["std"] |
| 51 |
std = [] |
| 52 |
|
| 53 |
[lib] |
| 54 |
name = "anyhow" |
| 55 |
path = "src/lib.rs" |
| 56 |
|
| 57 |
[[test]] |
| 58 |
name = "compiletest" |
| 59 |
path = "tests/compiletest.rs" |
| 60 |
|
| 61 |
[[test]] |
| 62 |
name = "test_autotrait" |
| 63 |
path = "tests/test_autotrait.rs" |
| 64 |
|
| 65 |
[[test]] |
| 66 |
name = "test_backtrace" |
| 67 |
path = "tests/test_backtrace.rs" |
| 68 |
|
| 69 |
[[test]] |
| 70 |
name = "test_boxed" |
| 71 |
path = "tests/test_boxed.rs" |
| 72 |
|
| 73 |
[[test]] |
| 74 |
name = "test_chain" |
| 75 |
path = "tests/test_chain.rs" |
| 76 |
|
| 77 |
[[test]] |
| 78 |
name = "test_context" |
| 79 |
path = "tests/test_context.rs" |
| 80 |
|
| 81 |
[[test]] |
| 82 |
name = "test_convert" |
| 83 |
path = "tests/test_convert.rs" |
| 84 |
|
| 85 |
[[test]] |
| 86 |
name = "test_downcast" |
| 87 |
path = "tests/test_downcast.rs" |
| 88 |
|
| 89 |
[[test]] |
| 90 |
name = "test_ensure" |
| 91 |
path = "tests/test_ensure.rs" |
| 92 |
|
| 93 |
[[test]] |
| 94 |
name = "test_ffi" |
| 95 |
path = "tests/test_ffi.rs" |
| 96 |
|
| 97 |
[[test]] |
| 98 |
name = "test_fmt" |
| 99 |
path = "tests/test_fmt.rs" |
| 100 |
|
| 101 |
[[test]] |
| 102 |
name = "test_macros" |
| 103 |
path = "tests/test_macros.rs" |
| 104 |
|
| 105 |
[[test]] |
| 106 |
name = "test_repr" |
| 107 |
path = "tests/test_repr.rs" |
| 108 |
|
| 109 |
[[test]] |
| 110 |
name = "test_source" |
| 111 |
path = "tests/test_source.rs" |
| 112 |
|
| 113 |
[dev-dependencies.futures] |
| 114 |
version = "0.3" |
| 115 |
default-features = false |
| 116 |
|
| 117 |
[dev-dependencies.rustversion] |
| 118 |
version = "1.0.6" |
| 119 |
|
| 120 |
[dev-dependencies.syn] |
| 121 |
version = "2.0" |
| 122 |
features = ["full"] |
| 123 |
|
| 124 |
[dev-dependencies.thiserror] |
| 125 |
version = "2" |
| 126 |
|
| 127 |
[dev-dependencies.trybuild] |
| 128 |
version = "1.0.108" |
| 129 |
features = ["diff"] |