benchmark and improve method parsing

This commit is contained in:
nora 2022-02-20 16:24:11 +01:00
parent 186f744715
commit 45196c722c
10 changed files with 593 additions and 210 deletions

View file

@ -3,10 +3,10 @@ use heck::ToUpperCamelCase;
pub(super) fn codegen_random(amqp: &Amqp) {
println!(
"#[cfg(test)]
"
mod random {{
use rand::Rng;
use crate::methods::tests::RandomMethod;
use crate::methods::RandomMethod;
use super::*;
"
);