# 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 = "2024"
name = "error2-derive"
version = "0.12.1"
authors = ["zihan <ZihanType@proton.me>"]
build = false
include = [
    "src/**/*",
    "Cargo.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A simple error handle library for Rust"
homepage = "https://github.com/ZihanType/error2"
readme = false
keywords = [
    "error",
    "library",
]
license = "MIT/Apache-2.0"
repository = "https://github.com/ZihanType/error2"

[lib]
name = "error2_derive"
path = "src/lib.rs"
proc-macro = true

[dependencies.heck]
version = "0.5"
default-features = false

[dependencies.proc-macro2]
version = "1"
default-features = false

[dependencies.quote]
version = "1"
default-features = false

[dependencies.quote-use]
version = "0.8"
default-features = false

[dependencies.syn]
version = "2"
features = [
    "derive",
    "parsing",
    "proc-macro",
]
default-features = false

[lints.rust]
rust-2024-compatibility = "warn"
