feat: enable all datasource + upgrade deps #11

Merged
nyyu merged 2 commits from slany/CGGItemSets:master into master 2022-01-26 22:41:17 +01:00
Showing only changes of commit aaa1a6d6b6 - Show all commits

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| {