Moved config into its own crate

This commit is contained in:
DaniD3v committed 2024-08-31 19:38:47 +02:00
1 parent a17ed23b00
commit 070a50833b
21 files changed
+48 -29

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
use serde::{Deserialize, Serialize};
#[derive(Deserialize, Serialize)]
pub struct CommandsConfig {
/// Are commands from the Console accepted ?
pub use_console: bool,
// TODO: commands...
}
impl Default for CommandsConfig {
fn default() -> Self {
Self { use_console: true }
}
}