// Shared clippy policy: see [workspace.lints.clippy] in the root Cargo.toml. // // Machine-applicable fixes have already been applied. The remaining allowances // document established DTO, serde, and parser APIs that need deliberate changes // rather than mechanical rewrites. They are local to this crate; other workspace // crates inherit the strict policy without this list. #![allow(clippy::cast_possible_truncation)] // bounded lengths/ids in wire DTOs #![allow(clippy::cast_possible_wrap)] // bounded lengths/ids in wire DTOs #![allow(clippy::cast_precision_loss)] // integer -> f64 for display/ratio maths #![allow(clippy::cast_sign_loss)] // bounded non-negative values #![allow(clippy::trivially_copy_pass_by_ref)] // `&T` predicates required by serde `skip_serializing_if` #![allow(clippy::ref_option)] // `&Option` required by serde `skip_serializing_if` #![allow(clippy::unreadable_literal)] // checked-in table constants #![allow(clippy::match_same_arms)] // arms kept separate to mirror the DTO variant order #![allow(clippy::struct_excessive_bools)] // config DTOs mirror the user-facing YAML shape #![allow(clippy::missing_panics_doc)] // legacy infallible helpers still expose panic contracts #![allow(clippy::unnecessary_wraps)] // signatures kept uniform across DTO conversions #![allow(clippy::manual_let_else)] // existing parser branches mirror input grammar #![allow(clippy::too_many_lines)] // large serde model conversion tables #![allow(clippy::format_collect)] // formatting iterators directly keeps DTO rendering local #![allow(clippy::assigning_clones)] // DTO updates intentionally retain their source values #![allow(clippy::unused_self)] // trait-compatible DTO helper methods #![allow(clippy::similar_names)] // domain vocabulary contains intentionally similar field names #![allow(clippy::needless_continue)] // parser loops keep exceptional branches explicit #![allow(clippy::float_cmp)] // exact sentinel and round-trip comparisons #![allow(clippy::needless_pass_by_value)] // serde and conversion APIs own their inputs #![allow(clippy::missing_fields_in_debug)] // redacted DTO debug output omits sensitive fields #![allow(clippy::implicit_hasher)] // public collection helpers preserve their established API #![allow(clippy::default_trait_access)] // explicit defaults identify the constructed DTO type pub mod defaults; pub mod error; pub mod foundation; pub mod model; pub mod utils;