lib.rs
This file
Path
serde_derive_internals/lib.rs
54 lines · 1.8 KiB · Rust
Last changed by
Release serde_derive_internals 0.30.0David Tolnaybefore adoption747814f
History of this fileTake it
1#![doc(html_root_url = "https://docs.rs/serde_derive_internals/0.30.0")]2#![cfg_attr(not(check_cfg), allow(unexpected_cfgs))]3// Ignored clippy lints4#![allow(5 clippy::cognitive_complexity,6 // clippy bug: https://github.com/rust-lang/rust-clippy/issues/75757 clippy::collapsible_match,8 clippy::derive_partial_eq_without_eq,9 // clippy bug: https://github.com/rust-lang/rust-clippy/issues/679710 clippy::manual_map,11 clippy::missing_panics_doc,12 clippy::needless_lifetimes,13 clippy::redundant_field_names,14 clippy::result_unit_err,15 clippy::should_implement_trait,16 clippy::trivially_copy_pass_by_ref,17 clippy::wildcard_in_or_patterns,18 // clippy bug: https://github.com/rust-lang/rust-clippy/issues/570419 clippy::unnested_or_patterns,20)]21// Ignored clippy_pedantic lints22#![allow(23 clippy::doc_markdown,24 clippy::elidable_lifetime_names,25 clippy::enum_glob_use,26 clippy::items_after_statements,27 clippy::let_underscore_untyped,28 clippy::manual_assert,29 clippy::match_same_arms,30 // clippy bug: https://github.com/rust-lang/rust-clippy/issues/698431 clippy::match_wildcard_for_single_variants,32 clippy::missing_errors_doc,33 clippy::module_name_repetitions,34 clippy::must_use_candidate,35 clippy::return_self_not_must_use,36 clippy::similar_names,37 clippy::single_match_else,38 clippy::struct_excessive_bools,39 clippy::too_many_lines,40 clippy::uninlined_format_args,41 clippy::unused_self,42 clippy::wildcard_imports43)]44#![allow(unknown_lints, mismatched_lifetime_syntaxes)]4546extern crate proc_macro2;47extern crate quote;48extern crate syn;4950#[cfg_attr(serde_build_from_git, path = "../serde_derive/src/internals/mod.rs")]51#[cfg_attr(not(serde_build_from_git), path = "src/mod.rs")]52mod internals;5354pub use internals::*;