mirror of
https://github.com/MingweiSamuel/Riven.git
synced 2024-12-27 03:16:33 +00:00
Regen
This commit is contained in:
parent
3c4f3c967a
commit
7f3fa7f59e
4 changed files with 646 additions and 100 deletions
679
src/endpoints.rs
679
src/endpoints.rs
File diff suppressed because it is too large
Load diff
22
src/lib.rs
22
src/lib.rs
|
@ -81,12 +81,28 @@
|
|||
//! 9) Irelia 46465 (5)
|
||||
//! 10) Vladimir 37176 (5)
|
||||
//! ```
|
||||
//! ### Feature Flags
|
||||
//!
|
||||
//! ### Nightly vs Stable
|
||||
//! #### Nightly vs Stable
|
||||
//!
|
||||
//! Enable the `nightly` feature to use nightly-only functionality. Mainly enables
|
||||
//! Enable the `nightly` feature to use nightly-only functionality. This enables
|
||||
//! [nightly optimizations in the `parking_lot` crate](https://github.com/Amanieu/parking_lot#nightly-vs-stable).
|
||||
//! Also required for running async integration tests.
|
||||
//!
|
||||
//! ```toml
|
||||
//! riven = { version = "...", features = [ "nightly" ] }
|
||||
//! ```
|
||||
//!
|
||||
//! #### rustls
|
||||
//!
|
||||
//! Riven uses [reqwest](https://github.com/seanmonstar/reqwest) for making requests. By default, reqwest uses the native TLS library.
|
||||
//! If you prefer using [rustls](https://github.com/ctz/rustls) you can do so by turning off the Riven default features
|
||||
//! and specifying the `rustls-tls` feature:
|
||||
//!
|
||||
//! ```toml
|
||||
//! riven = { version = "...", default-features = false, features = [ "rustls-tls" ] }
|
||||
//! ```
|
||||
//!
|
||||
//! Riven is additionally able to produce [tracing](https://docs.rs/tracing) spans for requests if the `tracing` feature is enabled. This feature is disabled by default.
|
||||
//!
|
||||
//! ### Docs
|
||||
//!
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
///////////////////////////////////////////////
|
||||
|
||||
// http://www.mingweisamuel.com/riotapi-schema/tool/
|
||||
// Version f60af07c98f05dffdaf81262f9b01f97fe94a3a1
|
||||
// Version 8fec9617c247f0ee5c96feecc8526fdc9dca0369
|
||||
|
||||
//! Metadata about the Riot API and Riven.
|
||||
//!
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
///////////////////////////////////////////////
|
||||
|
||||
// http://www.mingweisamuel.com/riotapi-schema/tool/
|
||||
// Version f60af07c98f05dffdaf81262f9b01f97fe94a3a1
|
||||
// Version 8fec9617c247f0ee5c96feecc8526fdc9dca0369
|
||||
|
||||
//! Data transfer structs.
|
||||
//!
|
||||
|
@ -1831,6 +1831,9 @@ pub mod match_v5 {
|
|||
pub queue_id: crate::consts::Queue,
|
||||
#[serde(rename = "teams")]
|
||||
pub teams: std::vec::Vec<MatchInfoTeam>,
|
||||
#[serde(rename = "tournamentCode")]
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub tournament_code: Option<String>,
|
||||
}
|
||||
/// MatchTimelineInfoFrameEvent data object.
|
||||
#[derive(Debug)]
|
||||
|
|
Loading…
Reference in a new issue