fix: async for init_reader

This commit is contained in:
Elijah McMorris 2024-09-24 14:35:32 -07:00
parent 5fa50cf69f
commit 47cde83c7a
Signed by: NexVeridian
SSH key fingerprint: SHA256:bsA1SKZxuEcEVHAy3gY1HUeM5ykRJl0U0kQHQn0hMg8
4 changed files with 13 additions and 7 deletions

View file

@ -26,7 +26,9 @@ fn bench(c: &mut Criterion) {
rt.block_on(async {
let db = inti_db().await.unwrap();
let reader = File_Format::new("json")
.await
.reader("tests/data/bench.json")
.await
.unwrap();
CreateVersion::Bulk