monorepo/otg/core/src/lib.rs

35 lines
1.0 KiB
Rust
Raw Normal View History

2024-03-22 03:48:48 +00:00
/*
Copyright 2024, Savanni D'Gerinel <savanni@luminescent-dreams.com>
This file is part of On the Grid.
On the Grid is free software: you can redistribute it and/or modify it under the terms of
the GNU General Public License as published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later version.
On the Grid is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with On the Grid. If not, see <https://www.gnu.org/licenses/>.
*/
extern crate config_derive;
mod api;
pub use api::{Core, CoreNotification, CoreRequest, CoreResponse, Observable};
2024-03-23 18:41:35 +00:00
mod goban;
pub use goban::*;
2024-03-22 03:48:48 +00:00
mod database;
pub mod library;
pub mod settings;
2024-03-22 03:48:48 +00:00
mod types;
2024-05-01 00:31:17 +00:00
pub use types::{
BoardError, Color, Config, ConfigOption, DepthTree, LibraryPath, Player, Rank, Size,
};