#![no_std]
#[allow(unused_imports)]
#[macro_use]
extern crate no_std_compat as std;
#[macro_use]
extern crate lazy_static;
extern crate rand;
extern crate rand_xorshift;
#[cfg(feature = "std")]
extern crate dirs;
#[cfg(feature = "std")]
extern crate regex;
#[cfg(feature = "std")]
extern crate rustyline;
#[cfg(feature = "std")]
extern crate rustyline_derive;
pub mod attack;
mod board;
mod common;
mod dumb7fill;
mod hyperbola;
mod piece_move;
mod piece_move_list;
mod positions;
mod piece_square_table;
mod transposition;
mod transposition_table;
mod zobrist;
pub mod bitboard;
pub mod clock;
pub mod color;
pub mod eval;
pub mod fen;
pub mod game;
pub mod history;
pub mod pgn;
pub mod piece_move_generator;
pub mod piece_move_notation;
pub mod piece;
#[cfg(feature = "std")]
pub mod protocols;
pub mod search;
pub mod square;
#[cfg(feature = "std")]
pub mod tune;
pub mod chess {
pub use crate::attack::Attack;
pub use crate::clock::Clock;
pub use crate::color;
pub use crate::fen::FEN;
pub use crate::game::Game;
pub use crate::piece_move_generator::PieceMoveGenerator;
pub use crate::piece_move_notation::PieceMoveNotation;
pub use crate::search::Search;
}
use std::prelude::v1::*;
pub fn version() -> String {
let ver = String::from("v") + env!("CARGO_PKG_VERSION");
let ver = option_env!("LITTLEWING_VERSION").unwrap_or(&ver);
format!("Little Wing {}", ver)
}
pub use crate::common::{colorize, bold_white, bold_green, bold_red};