Files
artcraft/crates/lib/dimensions/src/lib.rs

21 lines
512 B
Rust

//! dimensions
//!
//! The purpose of this library is to specify common dimensions for video and
//! to do aspect ratio calculations in a reusable manner.
//!
// 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)]