feat: enable all datasource

This commit is contained in:
Slany 2022-01-25 12:14:36 +01:00
parent b8f032a4a5
commit aaa1a6d6b6

View file

@ -101,10 +101,10 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
.into_json()?;
info!("LoL numbers of champs: {}", champion.data.len());
let data_sources: [&'static (dyn DataSource + Sync + Send); 1] = [
//&PBDataSource,
//&CGGDataSource,
//KBDataSource::new(),
let data_sources: [&'static (dyn DataSource + Sync + Send); 4] = [
&PBDataSource,
&CGGDataSource,
KBDataSource::new(),
&MSDataSource,
];
data_sources.par_iter().for_each(|data_source| {