feat: enable all datasource
This commit is contained in:
parent
b8f032a4a5
commit
aaa1a6d6b6
1 changed files with 4 additions and 4 deletions
|
@ -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| {
|
||||||
|
|
Loading…
Add table
Reference in a new issue