mirror of
https://github.com/serde-rs/json.git
synced 2025-10-02 15:26:00 +00:00

warning: unused imports: `parse_concise_float`, `parse_truncated_float` --> tests/../src/lexical/mod.rs:38:23 | 38 | pub use self::parse::{parse_concise_float, parse_truncated_float}; | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: unused import: `std::vec::Vec` --> tests/lexical.rs:30:13 | 30 | pub use std::vec::Vec; | ^^^^^^^^^^^^^ warning: unused imports: `cmp`, `iter`, `mem`, `ops` --> tests/lexical.rs:31:19 | 31 | pub use std::{cmp, iter, mem, ops}; | ^^^ ^^^^ ^^^ ^^^
49 lines
1000 B
Rust
49 lines
1000 B
Rust
#![allow(
|
|
clippy::cast_lossless,
|
|
clippy::cast_possible_truncation,
|
|
clippy::cast_possible_wrap,
|
|
clippy::cast_precision_loss,
|
|
clippy::cast_sign_loss,
|
|
clippy::comparison_chain,
|
|
clippy::doc_markdown,
|
|
clippy::excessive_precision,
|
|
clippy::float_cmp,
|
|
clippy::if_not_else,
|
|
clippy::let_underscore_untyped,
|
|
clippy::module_name_repetitions,
|
|
clippy::needless_late_init,
|
|
clippy::shadow_unrelated,
|
|
clippy::similar_names,
|
|
clippy::single_match_else,
|
|
clippy::too_many_lines,
|
|
clippy::unreadable_literal,
|
|
clippy::unseparated_literal_suffix,
|
|
clippy::wildcard_imports
|
|
)]
|
|
|
|
extern crate alloc;
|
|
|
|
#[path = "../src/lexical/mod.rs"]
|
|
mod lexical;
|
|
|
|
#[path = "lexical/algorithm.rs"]
|
|
mod algorithm;
|
|
|
|
#[path = "lexical/exponent.rs"]
|
|
mod exponent;
|
|
|
|
#[path = "lexical/float.rs"]
|
|
mod float;
|
|
|
|
#[path = "lexical/math.rs"]
|
|
mod math;
|
|
|
|
#[path = "lexical/num.rs"]
|
|
mod num;
|
|
|
|
#[path = "lexical/parse.rs"]
|
|
mod parse;
|
|
|
|
#[path = "lexical/rounding.rs"]
|
|
mod rounding;
|