# 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 = "2018"
rust-version = "1.31"
name = "thiserror_core2"
version = "2.0.1"
authors = [
    "David Tolnay <dtolnay@gmail.com>",
    "Brendan Molloy <brendan@bbqsrc.net>",
]
description = "derive(Error) (no_std-enabled using core2)"
documentation = "https://docs.rs/thiserror_core2"
readme = "README.md"
categories = ["rust-patterns"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/bbqsrc/thiserror-core2"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

[dependencies.core2]
version = "0.4"
default-features = false

[dependencies.thiserror_core2-impl]
version = "2.0.0"

[dev-dependencies.anyhow]
version = "1.0"

[dev-dependencies.ref-cast]
version = "1.0"

[dev-dependencies.rustversion]
version = "1.0"

[dev-dependencies.trybuild]
version = "1.0.49"
features = ["diff"]

[features]
default = ["std"]
std = ["core2/std"]
