| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2018" |
| 14 |
rust-version = "1.39" |
| 15 |
name = "anyhow" |
| 16 |
version = "1.0.100" |
| 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 |
default = ["std"] |
| 50 |
std = [] |
| 51 |
|
| 52 |
[lib] |
| 53 |
name = "anyhow" |
| 54 |
path = "src/lib.rs" |
| 55 |
|
| 56 |
[[test]] |
| 57 |
name = "compiletest" |
| 58 |
path = "tests/compiletest.rs" |
| 59 |
|
| 60 |
[[test]] |
| 61 |
name = "test_autotrait" |
| 62 |
path = "tests/test_autotrait.rs" |
| 63 |
|
| 64 |
[[test]] |
| 65 |
name = "test_backtrace" |
| 66 |
path = "tests/test_backtrace.rs" |
| 67 |
|
| 68 |
[[test]] |
| 69 |
name = "test_boxed" |
| 70 |
path = "tests/test_boxed.rs" |
| 71 |
|
| 72 |
[[test]] |
| 73 |
name = "test_chain" |
| 74 |
path = "tests/test_chain.rs" |
| 75 |
|
| 76 |
[[test]] |
| 77 |
name = "test_context" |
| 78 |
path = "tests/test_context.rs" |
| 79 |
|
| 80 |
[[test]] |
| 81 |
name = "test_convert" |
| 82 |
path = "tests/test_convert.rs" |
| 83 |
|
| 84 |
[[test]] |
| 85 |
name = "test_downcast" |
| 86 |
path = "tests/test_downcast.rs" |
| 87 |
|
| 88 |
[[test]] |
| 89 |
name = "test_ensure" |
| 90 |
path = "tests/test_ensure.rs" |
| 91 |
|
| 92 |
[[test]] |
| 93 |
name = "test_ffi" |
| 94 |
path = "tests/test_ffi.rs" |
| 95 |
|
| 96 |
[[test]] |
| 97 |
name = "test_fmt" |
| 98 |
path = "tests/test_fmt.rs" |
| 99 |
|
| 100 |
[[test]] |
| 101 |
name = "test_macros" |
| 102 |
path = "tests/test_macros.rs" |
| 103 |
|
| 104 |
[[test]] |
| 105 |
name = "test_repr" |
| 106 |
path = "tests/test_repr.rs" |
| 107 |
|
| 108 |
[[test]] |
| 109 |
name = "test_source" |
| 110 |
path = "tests/test_source.rs" |
| 111 |
|
| 112 |
[dependencies.backtrace] |
| 113 |
version = "0.3.51" |
| 114 |
optional = true |
| 115 |
|
| 116 |
[dev-dependencies.futures] |
| 117 |
version = "0.3" |
| 118 |
default-features = false |
| 119 |
|
| 120 |
[dev-dependencies.rustversion] |
| 121 |
version = "1.0.6" |
| 122 |
|
| 123 |
[dev-dependencies.syn] |
| 124 |
version = "2.0" |
| 125 |
features = ["full"] |
| 126 |
|
| 127 |
[dev-dependencies.thiserror] |
| 128 |
version = "2" |
| 129 |
|
| 130 |
[dev-dependencies.trybuild] |
| 131 |
version = "1.0.108" |
| 132 |
features = ["diff"] |