-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
49 lines (41 loc) · 1.37 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[package]
name = "pyo3-error"
version = "0.3.0"
edition = "2021"
authors = ["Juniper Tyree <[email protected]>"]
repository = "https://github.com/juntyr/pyo3-error"
license = "MPL-2.0"
rust-version = "1.63"
description = "Unified error causality chains across Rust and Python"
readme = "README.md"
categories = ["api-bindings", "rust-patterns"]
keywords = ["error", "source", "cause", "chain", "python"]
[dependencies]
pyo3 = { version = "0.23", default-features = false }
[dev-dependencies]
anyhow = { version = "1.0", default-features = false, features = ["std"] }
pyo3 = { version = "0.23", default-features = false, features = ["auto-initialize"] }
[lints.rust]
unsafe_code = "forbid"
unstable_features = "forbid"
unused_crate_dependencies = "warn"
missing_docs = "warn"
[lints.clippy]
complexity = { priority = -1, level = "warn" }
correctness = { priority = -1, level = "warn" }
nursery = { priority = -1, level = "warn" }
pedantic = { priority = -1, level = "warn" }
perf = { priority = -1, level = "warn" }
style = { priority = -1, level = "warn" }
suspicious = { priority = -1, level = "warn" }
unwrap_used = "warn"
expect_used = "warn"
indexing_slicing = "warn"
panic = "warn"
todo = "warn"
unimplemented = "warn"
unreachable = "warn"
module_name_repetitions = "allow"
cargo = { priority = -1, level = "warn" }
cargo_common_metadata = "warn"
multiple_crate_versions = "warn"