From bbf13190e9afadd660ecf507289219a3bad97e0a Mon Sep 17 00:00:00 2001 From: Slany Date: Sun, 7 Mar 2021 18:02:11 +0100 Subject: [PATCH] fix: disable cgg (panic cause of ofd impl) --- src/main.rs | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/main.rs b/src/main.rs index 4840136..1208ead 100644 --- a/src/main.rs +++ b/src/main.rs @@ -15,7 +15,7 @@ mod data_source; mod kb_data_source; mod pb_data_source; -use cgg_data_source::CGGDataSource; +// use cgg_data_source::CGGDataSource; use data_source::DataSource; use kb_data_source::KBDataSource; use pb_data_source::PBDataSource; @@ -40,7 +40,10 @@ const USER_AGENT: &str = const LOL_CHAMPS_DIR: &str = ".\\champs"; fn main() { - SimpleLogger::new().with_level(LevelFilter::Info).init().unwrap(); + SimpleLogger::new() + .with_level(LevelFilter::Info) + .init() + .unwrap(); info!("CGG Item Sets"); @@ -81,9 +84,9 @@ fn main() { .unwrap(); info!("LoL numbers of champs: {}", champion.data.len()); - let data_sources: [Box; 3] = [ + let data_sources: [Box; 2] = [ Box::new(PBDataSource), - Box::new(CGGDataSource), + // Box::new(CGGDataSource), Box::new(KBDataSource::new(&client)), ]; -- 2.45.3