mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-12 17:01:05 +00:00
20 lines
464 B
Rust
20 lines
464 B
Rust
//! sqlx_mysql_helpers
|
|
//!
|
|
//! Collect reusable Sqlx functions and patterns, particularly for MySQL databases.
|
|
//!
|
|
|
|
// Never allow these
|
|
#![forbid(private_in_public)]
|
|
#![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 any_connection; |