[package]
edition = "2021"
rust-version = "1.83"
name = "pyo3-error"
version = "0.8.0"
authors = ["Juniper Tyree <juniper.tyree@helsinki.fi>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unified error causality chains across Rust and Python"
readme = "README.md"
keywords = [
"error",
"source",
"cause",
"chain",
"python",
]
categories = [
"api-bindings",
"rust-patterns",
]
license = "MPL-2.0"
repository = "https://github.com/juntyr/pyo3-error"
[lib]
name = "pyo3_error"
path = "src/lib.rs"
[dependencies.pyo3]
version = "0.28"
default-features = false
[dev-dependencies.anyhow]
version = "1.0"
features = ["std"]
default-features = false
[dev-dependencies.pyo3]
version = "0.28"
features = ["auto-initialize"]
default-features = false
[lints.clippy]
cargo_common_metadata = "warn"
expect_used = "warn"
indexing_slicing = "warn"
module_name_repetitions = "allow"
multiple_crate_versions = "warn"
panic = "warn"
todo = "warn"
unimplemented = "warn"
unreachable = "warn"
unwrap_used = "warn"
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.complexity]
level = "warn"
priority = -1
[lints.clippy.correctness]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.clippy.perf]
level = "warn"
priority = -1
[lints.clippy.style]
level = "warn"
priority = -1
[lints.clippy.suspicious]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"
unstable_features = "forbid"
unused_crate_dependencies = "warn"