rustfmt ignore templated generated files

pull/56/head
Mingwei Samuel 2023-05-10 11:58:24 -07:00
parent 150566983e
commit 3d1188b5c9
3 changed files with 52 additions and 42 deletions

View File

@ -8,35 +8,43 @@
mod macros;
#[rustfmt::skip]
mod champion;
pub use champion::*;
mod division;
pub use division::*;
#[rustfmt::skip]
mod game_mode;
pub use game_mode::*;
#[rustfmt::skip]
mod game_type;
pub use game_type::*;
#[rustfmt::skip]
mod map;
pub use map::*;
#[rustfmt::skip]
mod queue_type;
pub use queue_type::*;
#[rustfmt::skip]
mod queue;
pub use queue::*;
pub mod ranks;
#[rustfmt::skip]
mod route;
pub use route::*;
mod route_ext;
pub use route_ext::*;
#[rustfmt::skip]
mod season;
pub use season::*;

View File

@ -177,12 +177,12 @@
// Re-exported reqwest types.
pub use reqwest;
mod config;
pub use config::RiotApiConfig;
pub mod consts;
#[rustfmt::skip]
pub mod endpoints;
mod error;
@ -190,6 +190,7 @@ pub use error::*;
pub mod meta;
#[rustfmt::skip]
pub mod models;
mod models_impls;

View File

@ -7,18 +7,18 @@
#![deny(missing_docs)]
{{~ readme :line }}
//! {{= line }}
//!{{= line ? (' ' + line) : '' }}
{{~}}
// Re-exported reqwest types.
pub use reqwest;
mod config;
pub use config::RiotApiConfig;
pub mod consts;
#[rustfmt::skip]
pub mod endpoints;
mod error;
@ -26,6 +26,7 @@ pub use error::*;
pub mod meta;
#[rustfmt::skip]
pub mod models;
mod models_impls;