Stable features only
This commit is contained in:
parent
a2b0e2e8a8
commit
dbd4886a4f
@ -25,6 +25,7 @@ pub fn build_handlers(conf: Config) -> Vec<Box<dyn ServerInfo>> {
|
||||
assert_eq!(conf.version, "0.1.0");
|
||||
let mut results: Vec<Box<dyn ServerInfo>> = vec![];
|
||||
for item in conf.entries {
|
||||
#[allow(clippy::single_match)]
|
||||
match item.handler_type.as_str() {
|
||||
"minecraft" => results.push(Box::new(handlers::minecraft::Server::new(
|
||||
item.token,
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
#![feature(impl_trait_in_bindings)]
|
||||
mod bot_runner;
|
||||
mod config_parser;
|
||||
mod handlers;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user