riichi 0.1.0

Japanese Riichi Mahjong game engine
Documentation
#![doc = include_str!("../README.md")]

use once_cell::sync::Lazy;
use semver::Version;

mod common;
pub mod engine;
pub mod model;
pub mod interop;
pub mod rules;
pub mod yaku;

pub mod prelude {
    //! Convenient re-exports of commonly imported items.
    pub use riichi_elements::prelude::*;
    pub use super::{
        engine::Engine,
        model::*,
        rules::Ruleset,
    };
}

/// Version of this crate (as a string).
pub const VERSION_STR: &str = env!("CARGO_PKG_VERSION");

/// Version of this crate (parsed).
pub static VERSION: Lazy<Version> = Lazy::new(|| VERSION_STR.parse().unwrap());