| 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 = "2021" |
| 14 |
rust-version = "1.61" |
| 15 |
name = "thiserror" |
| 16 |
version = "2.0.9" |
| 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 = "derive(Error)" |
| 25 |
documentation = "https://docs.rs/thiserror" |
| 26 |
readme = "README.md" |
| 27 |
keywords = [ |
| 28 |
"error", |
| 29 |
"error-handling", |
| 30 |
"derive", |
| 31 |
] |
| 32 |
categories = ["rust-patterns"] |
| 33 |
license = "MIT OR Apache-2.0" |
| 34 |
repository = "https://github.com/dtolnay/thiserror" |
| 35 |
|
| 36 |
[package.metadata.docs.rs] |
| 37 |
rustdoc-args = ["--generate-link-to-definition"] |
| 38 |
targets = ["x86_64-unknown-linux-gnu"] |
| 39 |
|
| 40 |
[features] |
| 41 |
default = ["std"] |
| 42 |
std = [] |
| 43 |
|
| 44 |
[lib] |
| 45 |
name = "thiserror" |
| 46 |
path = "src/lib.rs" |
| 47 |
|
| 48 |
[[test]] |
| 49 |
name = "compiletest" |
| 50 |
path = "tests/compiletest.rs" |
| 51 |
|
| 52 |
[[test]] |
| 53 |
name = "test_backtrace" |
| 54 |
path = "tests/test_backtrace.rs" |
| 55 |
|
| 56 |
[[test]] |
| 57 |
name = "test_display" |
| 58 |
path = "tests/test_display.rs" |
| 59 |
|
| 60 |
[[test]] |
| 61 |
name = "test_error" |
| 62 |
path = "tests/test_error.rs" |
| 63 |
|
| 64 |
[[test]] |
| 65 |
name = "test_expr" |
| 66 |
path = "tests/test_expr.rs" |
| 67 |
|
| 68 |
[[test]] |
| 69 |
name = "test_from" |
| 70 |
path = "tests/test_from.rs" |
| 71 |
|
| 72 |
[[test]] |
| 73 |
name = "test_generics" |
| 74 |
path = "tests/test_generics.rs" |
| 75 |
|
| 76 |
[[test]] |
| 77 |
name = "test_lints" |
| 78 |
path = "tests/test_lints.rs" |
| 79 |
|
| 80 |
[[test]] |
| 81 |
name = "test_option" |
| 82 |
path = "tests/test_option.rs" |
| 83 |
|
| 84 |
[[test]] |
| 85 |
name = "test_path" |
| 86 |
path = "tests/test_path.rs" |
| 87 |
|
| 88 |
[[test]] |
| 89 |
name = "test_source" |
| 90 |
path = "tests/test_source.rs" |
| 91 |
|
| 92 |
[[test]] |
| 93 |
name = "test_transparent" |
| 94 |
path = "tests/test_transparent.rs" |
| 95 |
|
| 96 |
[dependencies.thiserror-impl] |
| 97 |
version = "=2.0.9" |
| 98 |
|
| 99 |
[dev-dependencies.anyhow] |
| 100 |
version = "1.0.73" |
| 101 |
|
| 102 |
[dev-dependencies.ref-cast] |
| 103 |
version = "1.0.18" |
| 104 |
|
| 105 |
[dev-dependencies.rustversion] |
| 106 |
version = "1.0.13" |
| 107 |
|
| 108 |
[dev-dependencies.trybuild] |
| 109 |
version = "1.0.81" |
| 110 |
features = ["diff"] |