2021-07-02 06:16:59 +00:00
|
|
|
{{
|
|
|
|
const dotUtils = require('./dotUtils.js');
|
2021-09-09 21:31:39 +00:00
|
|
|
const readme = require('fs').readFileSync('../../README.md', 'utf-8').split(/\r?\n/);
|
2021-07-02 06:16:59 +00:00
|
|
|
}}{{= dotUtils.preamble() }}
|
|
|
|
|
|
|
|
#![forbid(unsafe_code)]
|
2022-02-09 01:17:47 +00:00
|
|
|
#![deny(missing_docs)]
|
2021-07-02 06:16:59 +00:00
|
|
|
|
|
|
|
{{~ readme :line }}
|
2023-05-10 18:58:24 +00:00
|
|
|
//!{{= line ? (' ' + line) : '' }}
|
2021-07-02 06:16:59 +00:00
|
|
|
{{~}}
|
|
|
|
|
|
|
|
// Re-exported reqwest types.
|
|
|
|
pub use reqwest;
|
|
|
|
|
|
|
|
mod config;
|
|
|
|
pub use config::RiotApiConfig;
|
|
|
|
|
|
|
|
pub mod consts;
|
|
|
|
|
2023-05-10 18:58:24 +00:00
|
|
|
#[rustfmt::skip]
|
2021-07-02 06:16:59 +00:00
|
|
|
pub mod endpoints;
|
|
|
|
|
|
|
|
mod error;
|
|
|
|
pub use error::*;
|
|
|
|
|
|
|
|
pub mod meta;
|
|
|
|
|
2023-05-10 18:58:24 +00:00
|
|
|
#[rustfmt::skip]
|
2021-07-02 06:16:59 +00:00
|
|
|
pub mod models;
|
2021-12-29 18:04:54 +00:00
|
|
|
mod models_impls;
|
2021-07-02 06:16:59 +00:00
|
|
|
|
|
|
|
mod req;
|
|
|
|
|
|
|
|
mod response_info;
|
|
|
|
pub use response_info::*;
|
|
|
|
|
|
|
|
mod riot_api;
|
|
|
|
pub use riot_api::*;
|
|
|
|
|
|
|
|
mod util;
|