1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110
|
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.
[package]
edition = "2021"
rust-version = "1.61"
name = "thiserror"
version = "2.0.9"
authors = ["David Tolnay <dtolnay@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "derive(Error)"
documentation = "https://docs.rs/thiserror"
readme = "README.md"
keywords = [
"error",
"error-handling",
"derive",
]
categories = ["rust-patterns"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/dtolnay/thiserror"
[package.metadata.docs.rs]
rustdoc-args = ["--generate-link-to-definition"]
targets = ["x86_64-unknown-linux-gnu"]
[features]
default = ["std"]
std = []
[lib]
name = "thiserror"
path = "src/lib.rs"
[[test]]
name = "compiletest"
path = "tests/compiletest.rs"
[[test]]
name = "test_backtrace"
path = "tests/test_backtrace.rs"
[[test]]
name = "test_display"
path = "tests/test_display.rs"
[[test]]
name = "test_error"
path = "tests/test_error.rs"
[[test]]
name = "test_expr"
path = "tests/test_expr.rs"
[[test]]
name = "test_from"
path = "tests/test_from.rs"
[[test]]
name = "test_generics"
path = "tests/test_generics.rs"
[[test]]
name = "test_lints"
path = "tests/test_lints.rs"
[[test]]
name = "test_option"
path = "tests/test_option.rs"
[[test]]
name = "test_path"
path = "tests/test_path.rs"
[[test]]
name = "test_source"
path = "tests/test_source.rs"
[[test]]
name = "test_transparent"
path = "tests/test_transparent.rs"
[dependencies.thiserror-impl]
version = "=2.0.9"
[dev-dependencies.anyhow]
version = "1.0.73"
[dev-dependencies.ref-cast]
version = "1.0.18"
[dev-dependencies.rustversion]
version = "1.0.13"
[dev-dependencies.trybuild]
version = "1.0.81"
features = ["diff"]
|