Skip to content

Commit

Permalink
Add clippy msrv and update allowed lints
Browse files Browse the repository at this point in the history
  • Loading branch information
akubera committed Jul 4, 2023
1 parent 34e8912 commit 9fb29b0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .clippy.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
msrv = "1.43.0"
2 changes: 2 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![allow(clippy::style)]


use std::env;
use std::fs::File;
Expand Down
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,13 @@
//! println!("Input ({}) with 10 decimals: {} vs {})", input, dec, float);
//! ```
#![cfg_attr(not(feature = "std"), no_std)]
#![allow(clippy::style)]
#![allow(clippy::unreadable_literal)]
#![allow(clippy::needless_return)]
#![allow(clippy::suspicious_arithmetic_impl)]
#![allow(clippy::suspicious_op_assign_impl)]
#![allow(clippy::redundant_field_names)]
#![allow(clippy::match_like_matches_macro)] // requires Rust 1.42.0


pub extern crate num_bigint;
pub extern crate num_traits;
Expand Down

0 comments on commit 9fb29b0

Please sign in to comment.