Skip to content

Commit

Permalink
Merge pull request cornucopia-rs#180 from Virgiel/sync_compat_async
Browse files Browse the repository at this point in the history
Work with both sync and async
  • Loading branch information
LouisGariepy authored Jan 23, 2023
2 parents ae941cd + 842e577 commit 8340aa5
Show file tree
Hide file tree
Showing 21 changed files with 9,783 additions and 11,894 deletions.
6 changes: 4 additions & 2 deletions bench/codegen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ fn bench(c: &mut Criterion) {
"../codegen_test/queries",
None,
CodegenSettings {
is_async: false,
gen_sync: true,
gen_async: false,
derive_ser: true,
},
)
Expand All @@ -28,7 +29,8 @@ fn bench(c: &mut Criterion) {
"../codegen_test/queries",
None,
CodegenSettings {
is_async: true,
gen_sync: true,
gen_async: false,
derive_ser: true,
},
)
Expand Down
Loading

0 comments on commit 8340aa5

Please sign in to comment.