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()?; .into_json()?;
info!("LoL numbers of champs: {}", champion.data.len()); info!("LoL numbers of champs: {}", champion.data.len());
let data_sources: [&'static (dyn DataSource + Sync + Send); 1] = [ let data_sources: [&'static (dyn DataSource + Sync + Send); 4] = [
//&PBDataSource, &PBDataSource,
//&CGGDataSource, &CGGDataSource,
//KBDataSource::new(), KBDataSource::new(),
&MSDataSource, &MSDataSource,
]; ];
data_sources.par_iter().for_each(|data_source| { data_sources.par_iter().for_each(|data_source| {