1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
#![warn(missing_docs)]
#![warn(
clippy::pedantic,
clippy::nursery,
clippy::unwrap_used,
clippy::expect_used,
clippy::as_conversions
)]
#![allow(clippy::module_name_repetitions, clippy::doc_markdown)]
//! Skillratings provides functions on calculating a player's skill rating.
//!
//! Currently we support these skill rating systems:
//! **[`Elo`](crate::elo)**,
//! **[`DWZ`](crate::dwz)**,
//! **[`Ingo`](crate::ingo)**,
//! **[`TrueSkill`](crate::trueskill)**,
//! **[`Glicko`](crate::glicko)**
//! and **[`Glicko-2`](crate::glicko2)**.
//!
//! You can use this crate to calculate results for two players instantly,
//! or for one player in a rating period with the algorithms mentioned above.
//!
//! Head over to the modules above or below for more information about the specific rating algorithms, their advantages and disadvantages.
//!
//! # Installation
//!
//! Add the following to your `Cargo.toml` file:
//! ```toml
//! [dependencies]
//! skillratings = "0.10.0"
//! ```
//!
//! # Examples and Usage
//!
//! Check out the `Examples` section for every function contained in the modules to see how they can be used.
pub mod config;
pub mod dwz;
pub mod elo;
pub mod glicko;
pub mod glicko2;
pub mod ingo;
pub mod outcomes;
pub mod rating;
pub mod trueskill;