1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
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.
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.
17 authors = ["David Tolnay <dtolnay@gmail.com>"]
23 description = "derive(Error)"
24 documentation = "https://docs.rs/thiserror"
31 categories = ["rust-patterns"]
32 license = "MIT OR Apache-2.0"
33 repository = "https://github.com/dtolnay/thiserror"
35 [package.metadata.docs.rs]
36 rustdoc-args = ["--generate-link-to-definition"]
37 targets = ["x86_64-unknown-linux-gnu"]
45 path = "tests/compiletest.rs"
48 name = "test_backtrace"
49 path = "tests/test_backtrace.rs"
52 name = "test_deprecated"
53 path = "tests/test_deprecated.rs"
57 path = "tests/test_display.rs"
61 path = "tests/test_error.rs"
65 path = "tests/test_expr.rs"
69 path = "tests/test_from.rs"
72 name = "test_generics"
73 path = "tests/test_generics.rs"
77 path = "tests/test_lints.rs"
81 path = "tests/test_option.rs"
85 path = "tests/test_path.rs"
89 path = "tests/test_source.rs"
92 name = "test_transparent"
93 path = "tests/test_transparent.rs"
95 [dependencies.thiserror-impl]
98 [dev-dependencies.anyhow]
101 [dev-dependencies.ref-cast]
104 [dev-dependencies.rustversion]
107 [dev-dependencies.trybuild]