2019-09-07 20:14:30 -07:00
|
|
|
#![doc(html_root_url = "https://docs.rs/serde_derive_internals/0.25.0")]
|
2019-05-31 11:34:18 -07:00
|
|
|
#![allow(unknown_lints, bare_trait_objects)]
|
2021-01-24 16:10:31 -08:00
|
|
|
#![deny(clippy::all, clippy::pedantic)]
|
|
|
|
// Ignored clippy lints
|
2021-01-24 16:07:38 -08:00
|
|
|
#![allow(
|
|
|
|
clippy::cognitive_complexity,
|
|
|
|
clippy::redundant_field_names,
|
|
|
|
clippy::result_unit_err,
|
|
|
|
clippy::should_implement_trait,
|
|
|
|
clippy::trivially_copy_pass_by_ref,
|
|
|
|
clippy::wildcard_in_or_patterns,
|
|
|
|
// clippy bug: https://github.com/rust-lang/rust-clippy/issues/5704
|
|
|
|
clippy::unnested_or_patterns,
|
2018-04-12 22:58:24 -07:00
|
|
|
)]
|
2021-01-24 16:10:31 -08:00
|
|
|
// Ignored clippy_pedantic lints
|
|
|
|
#![allow(
|
|
|
|
clippy::doc_markdown,
|
|
|
|
clippy::enum_glob_use,
|
|
|
|
clippy::items_after_statements,
|
|
|
|
clippy::match_same_arms,
|
|
|
|
clippy::missing_errors_doc,
|
2021-01-25 00:02:55 -08:00
|
|
|
clippy::module_name_repetitions,
|
2021-01-24 16:10:31 -08:00
|
|
|
clippy::must_use_candidate,
|
2021-01-25 00:02:55 -08:00
|
|
|
clippy::similar_names,
|
2021-01-24 16:10:31 -08:00
|
|
|
clippy::struct_excessive_bools,
|
|
|
|
clippy::too_many_lines,
|
2021-01-25 00:02:55 -08:00
|
|
|
clippy::unused_self,
|
2021-01-24 16:10:31 -08:00
|
|
|
clippy::wildcard_imports
|
|
|
|
)]
|
2017-04-20 08:11:31 -07:00
|
|
|
|
2017-04-02 21:42:07 -07:00
|
|
|
#[macro_use]
|
2018-01-08 21:49:09 -08:00
|
|
|
extern crate syn;
|
2016-06-30 19:53:57 -07:00
|
|
|
|
2018-01-09 20:34:29 -08:00
|
|
|
extern crate proc_macro2;
|
2018-12-10 22:15:46 -08:00
|
|
|
extern crate quote;
|
2018-01-09 20:34:29 -08:00
|
|
|
|
2018-05-05 23:06:16 -07:00
|
|
|
#[path = "src/mod.rs"]
|
|
|
|
mod internals;
|
2016-06-30 19:53:57 -07:00
|
|
|
|
2018-05-05 23:06:16 -07:00
|
|
|
pub use internals::*;
|