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