openskill 0.0.1

Rust implementation of OpenSkill (license free TrueSkill)
Documentation
1
2
3
4
5
6
7
8
9
10
11
use thiserror::Error;

#[derive(Error, Debug, Clone, Copy, PartialEq, Eq)]
pub enum OpenSkillError {
    #[error("Empty teams")]
    EmptyTeams,
    #[error("Invalid team count {0}")]
    InvalidTeamCount(&'static str),
}

pub type Result<T> = std::result::Result<T, OpenSkillError>;