diff options
Diffstat (limited to 'crates/bot-error')
| -rw-r--r-- | crates/bot-error/Cargo.toml | 23 | ||||
| -rw-r--r-- | crates/bot-error/src/lib.rs | 1 |
2 files changed, 24 insertions, 0 deletions
diff --git a/crates/bot-error/Cargo.toml b/crates/bot-error/Cargo.toml new file mode 100644 index 0000000..c6f6ed1 --- /dev/null +++ b/crates/bot-error/Cargo.toml @@ -0,0 +1,23 @@ +[package] +name = "bot-error" +version = "0.2.0" +edition = "2021" + +authors = ["seth <getchoo at tuta dot io>"] +description = "Shared Err variant used for (most of) nixpkgs-tracker-bot" +repository = "https://github.com/getchoo/nixpkgs-tracker-bot" + +publish = false + +[dependencies] + +[lints.rust] +unsafe_code = "forbid" + +[lints.clippy] +complexity = "warn" +correctness = "deny" +pedantic = "warn" +perf = "warn" +style = "warn" +suspicious = "deny" diff --git a/crates/bot-error/src/lib.rs b/crates/bot-error/src/lib.rs new file mode 100644 index 0000000..f34e60e --- /dev/null +++ b/crates/bot-error/src/lib.rs @@ -0,0 +1 @@ +pub type Error = Box<dyn std::error::Error + Send + Sync>; |
