[package]
edition = "2021"
rust-version = "1.82"
name = "rtb-error"
version = "0.6.1"
authors = ["Matt Cockayne <matt@phpboyscout.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Error types and the diagnostic report pipeline. Part of the phpboyscout Rust toolkit."
homepage = "https://error.rust.phpboyscout.uk"
documentation = "https://docs.rs/rtb-error"
readme = "README.md"
keywords = [
"error",
"diagnostics",
"miette",
"thiserror",
"cli",
]
categories = [
"development-tools",
"rust-patterns",
"command-line-interface",
]
license = "MIT"
repository = "https://gitlab.com/phpboyscout/rust/error"
[lib]
name = "rtb_error"
path = "src/lib.rs"
[[test]]
name = "bdd"
path = "tests/bdd.rs"
[[test]]
name = "trybuild"
path = "tests/trybuild.rs"
[[test]]
name = "unit"
path = "tests/unit.rs"
[dependencies.miette]
version = "7.6.0"
features = ["fancy"]
[dependencies.thiserror]
version = "2.0.19"
[dev-dependencies.cucumber]
version = "0.23.0"
features = ["macros"]
[dev-dependencies.tokio]
version = "1.53.0"
features = ["full"]
[dev-dependencies.trybuild]
version = "1.0.118"
[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"