fix: disable cgg (panic cause of ofd impl)
Some checks failed
continuous-integration/drone/pr Build is failing
Some checks failed
continuous-integration/drone/pr Build is failing
This commit is contained in:
parent
51032f094e
commit
bbf13190e9
1 changed files with 7 additions and 4 deletions
11
src/main.rs
11
src/main.rs
|
@ -15,7 +15,7 @@ mod data_source;
|
||||||
mod kb_data_source;
|
mod kb_data_source;
|
||||||
mod pb_data_source;
|
mod pb_data_source;
|
||||||
|
|
||||||
use cgg_data_source::CGGDataSource;
|
// use cgg_data_source::CGGDataSource;
|
||||||
use data_source::DataSource;
|
use data_source::DataSource;
|
||||||
use kb_data_source::KBDataSource;
|
use kb_data_source::KBDataSource;
|
||||||
use pb_data_source::PBDataSource;
|
use pb_data_source::PBDataSource;
|
||||||
|
@ -40,7 +40,10 @@ const USER_AGENT: &str =
|
||||||
const LOL_CHAMPS_DIR: &str = ".\\champs";
|
const LOL_CHAMPS_DIR: &str = ".\\champs";
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
SimpleLogger::new().with_level(LevelFilter::Info).init().unwrap();
|
SimpleLogger::new()
|
||||||
|
.with_level(LevelFilter::Info)
|
||||||
|
.init()
|
||||||
|
.unwrap();
|
||||||
|
|
||||||
info!("CGG Item Sets");
|
info!("CGG Item Sets");
|
||||||
|
|
||||||
|
@ -81,9 +84,9 @@ fn main() {
|
||||||
.unwrap();
|
.unwrap();
|
||||||
info!("LoL numbers of champs: {}", champion.data.len());
|
info!("LoL numbers of champs: {}", champion.data.len());
|
||||||
|
|
||||||
let data_sources: [Box<dyn DataSource>; 3] = [
|
let data_sources: [Box<dyn DataSource>; 2] = [
|
||||||
Box::new(PBDataSource),
|
Box::new(PBDataSource),
|
||||||
Box::new(CGGDataSource),
|
// Box::new(CGGDataSource),
|
||||||
Box::new(KBDataSource::new(&client)),
|
Box::new(KBDataSource::new(&client)),
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue