[dependencies.defmt]
optional = true
version = "0.3"
[dependencies.error_set_impl]
version = "=0.8.2"
[dependencies.log]
optional = true
version = "0.4"
[dependencies.tracing]
optional = true
version = "0.1"
[dev-dependencies.lazy_static]
version = "1"
[dev-dependencies.tracing-test]
features = ["no-env-filter"]
version = "0.2"
[dev-dependencies.trybuild]
version = "^1.0.91"
[features]
context_stub = []
default = []
defmt = ["dep:defmt"]
log = ["dep:log"]
tracing = ["dep:tracing"]
[lib]
name = "declare"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["rust-patterns", "no-std"]
description = "An error set macro that simplifies error management by providing a streamlined method for defining errors and easily converting between them. Inspired by Zig's error set type."
documentation = "https://docs.rs/error_set"
edition = "2021"
keywords = ["error", "error-handling", "macro", "error-set"]
license = "Apache-2.0"
name = "declare"
readme = "README.md"
repository = "https://github.com/mcmah309/error_set"
rust-version = "1.81"
version = "0.0.1"
[package.metadata.docs.rs]
all-features = false
features = ["tracing"]
rustdoc-args = ["--cfg", "docsrs"]
[[test]]
name = "mod"
path = "tests/mod.rs"