[package]
edition = "2024"
name = "error-kind"
version = "0.0.2"
authors = ["Sigseis <sigseis@protonmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Separate `Error` from `ErrorKind` with convenient derive macros!"
documentation = "https://docs.rs/error-kind"
readme = "README.md"
keywords = [
"error",
"error-handling",
"derive",
]
categories = [
"rust-patterns",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/sigseis/error-kind"
[package.metadata.docs.rs]
all-features = true
[features]
alloc = []
backtrace = ["alloc"]
default = ["macros"]
macros = ["dep:error-kind-macros"]
[lib]
name = "error_kind"
path = "src/lib.rs"
[[test]]
name = "err"
path = "tests/err/tests.rs"
required-features = [
"alloc",
"macros",
]
[[test]]
name = "error"
path = "tests/error/tests.rs"
required-features = [
"alloc",
"macros",
]
[[test]]
name = "error_domain"
path = "tests/error_domain/tests.rs"
required-features = [
"alloc",
"macros",
]
[[test]]
name = "error_kind"
path = "tests/error_kind/tests.rs"
required-features = [
"alloc",
"macros",
]
[dependencies.error-kind-macros]
version = "0.0.2"
optional = true
[dev-dependencies.trybuild]
version = "1"
[lints.rust]
unsafe_code = "forbid"