mirror of
https://github.com/storytold/artcraft.git
synced 2026-10-27 03:27:04 +00:00
22 lines
518 B
Rust
22 lines
518 B
Rust
//! cloudflare_errors
|
|
//!
|
|
//! Classify common cloudflare errors so clients can handle appropriately.
|
|
//!
|
|
|
|
// Never allow these
|
|
#![forbid(private_bounds)]
|
|
#![forbid(private_interfaces)]
|
|
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
|
|
|
|
// Okay to toggle
|
|
#![forbid(unreachable_patterns)]
|
|
#![forbid(unused_imports)]
|
|
#![forbid(unused_mut)]
|
|
#![forbid(unused_variables)]
|
|
|
|
// Always allow
|
|
#![allow(dead_code)]
|
|
#![allow(non_snake_case)]
|
|
|
|
pub mod cloudflare_error;
|
|
pub mod filter_cloudflare_errors; |