context_attr 0.1.2

Attribute macro to add context to all errors a function produces
Documentation
[package]
name = "context_attr"
version = "0.1.2"
edition = "2021"
license = "MIT"
description = "Attribute macro to add context to all errors a function produces"

[dependencies]
proc-macro2 = "1.0"
quote = "1.0"
syn = { version = "2.0", features = ["full"] }

anyhow = { version = "1.0.95", optional = true }
eyre = { version = "0.6.12", optional = true }

[features]
eyre = ["dep:eyre"]
anyhow = ["dep:anyhow"]

full = [
  "anyhow",
  "eyre",
]

[lib]
proc-macro = true

[dev-dependencies]
tokio = { version = "1.43.0", features = ["macros", "rt"] }