arith_wrappers/lib.rs
1#![warn(clippy::all, clippy::nursery, clippy::pedantic, rust_2018_idioms)]
2// Safety-critical application lints
3#![deny(
4 bare_trait_objects,
5 clippy::float_cmp_const,
6 clippy::indexing_slicing,
7 clippy::integer_arithmetic,
8 clippy::unwrap_used,
9 clippy::pedantic
10)]
11// To use the `unsafe` keyword, change to `#![allow(unsafe_code)]` (do not remove); aids auditing.
12#![forbid(unsafe_code)]
13#![allow(clippy::match_bool)]
14
15// Uncomment before ship to reconcile use of possibly redundant crates, debug remnants, missing license files and more
16//#![warn(clippy::cargo, clippy::restriction, missing_docs, warnings)]
17//#![deny(warnings)]
18
19mod consts;
20mod error;
21mod wrapping;
22pub use error::{Error, Result};
23pub use wrapping::WrappingWrapper;