You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
inkwell/src/config.rs

24 lines
458 B

pub struct Info<'a> {
name: &'a str,
version: &'a str,
author: &'a str,
}
impl Info<'_> {
pub fn to_name(&self) -> String {
format!("{} {}", self.name, self.version)
}
pub fn to_author(&self) -> String {
self.author.to_owned()
}
}
pub const INFO: Info = Info {
name: "inkwell",
version: "0.0.3-rc",
author: "Bendy (real)",
};
// FIXME: this needs to be configurable via UCI
pub const depth: u8 = 3;