forked from mirror/Riven
1
0
Fork 0
users/mingwei/unknown-variant-messy
Thijs Molendijk 2021-07-04 20:10:50 +02:00 committed by Mingwei Samuel
parent 3c4f3c967a
commit 7f3fa7f59e
4 changed files with 646 additions and 100 deletions

File diff suppressed because it is too large Load Diff

View File

@ -81,12 +81,28 @@
//! 9) Irelia 46465 (5) //! 9) Irelia 46465 (5)
//! 10) Vladimir 37176 (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). //! [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 //! ### Docs
//! //!

View File

@ -7,7 +7,7 @@
/////////////////////////////////////////////// ///////////////////////////////////////////////
// http://www.mingweisamuel.com/riotapi-schema/tool/ // http://www.mingweisamuel.com/riotapi-schema/tool/
// Version f60af07c98f05dffdaf81262f9b01f97fe94a3a1 // Version 8fec9617c247f0ee5c96feecc8526fdc9dca0369
//! Metadata about the Riot API and Riven. //! Metadata about the Riot API and Riven.
//! //!

View File

@ -7,7 +7,7 @@
/////////////////////////////////////////////// ///////////////////////////////////////////////
// http://www.mingweisamuel.com/riotapi-schema/tool/ // http://www.mingweisamuel.com/riotapi-schema/tool/
// Version f60af07c98f05dffdaf81262f9b01f97fe94a3a1 // Version 8fec9617c247f0ee5c96feecc8526fdc9dca0369
//! Data transfer structs. //! Data transfer structs.
//! //!
@ -1831,6 +1831,9 @@ pub mod match_v5 {
pub queue_id: crate::consts::Queue, pub queue_id: crate::consts::Queue,
#[serde(rename = "teams")] #[serde(rename = "teams")]
pub teams: std::vec::Vec<MatchInfoTeam>, pub teams: std::vec::Vec<MatchInfoTeam>,
#[serde(rename = "tournamentCode")]
#[serde(skip_serializing_if = "Option::is_none")]
pub tournament_code: Option<String>,
} }
/// MatchTimelineInfoFrameEvent data object. /// MatchTimelineInfoFrameEvent data object.
#[derive(Debug)] #[derive(Debug)]