[dependencies]
[dev-dependencies.anyhow]
version = "1"
[[example]]
name = "option"
path = "examples/option.rs"
[[example]]
name = "result"
path = "examples/result.rs"
[lib]
name = "anyhow_auto_context"
path = "src/lib.rs"
[lints.clippy]
all = "forbid"
complexity = "forbid"
expect_used = "forbid"
indexing_slicing = "forbid"
panic = "forbid"
pedantic = "forbid"
perf = "forbid"
style = "forbid"
suspicious = "forbid"
todo = "forbid"
unimplemented = "forbid"
unwrap_used = "forbid"
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.rust]
keyword_idents = "forbid"
let_underscore = "forbid"
missing_docs = "forbid"
nonstandard_style = "forbid"
refining_impl_trait = "forbid"
rust_2018_compatibility = "forbid"
rust_2018_idioms = "forbid"
rust_2021_compatibility = "forbid"
rust_2024_compatibility = "forbid"
unreachable_pub = "forbid"
unsafe_code = "forbid"
unused = "forbid"
[lints.rust.future_incompatible]
level = "warn"
priority = -1
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Automatic context for anyhow errors based on scope and location"
edition = "2021"
license = "MIT"
name = "anyhow-auto-context"
readme = "README.md"
repository = "https://github.com/imbolc/anyhow-auto-context"
version = "0.1.0"