Skip to content

Commit

Permalink
Split codegen into separate modules
Browse files Browse the repository at this point in the history
  • Loading branch information
morr0ne committed Aug 16, 2024
1 parent d77dd3d commit 100683f
Show file tree
Hide file tree
Showing 5 changed files with 379 additions and 363 deletions.
5 changes: 4 additions & 1 deletion gen/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ use proc_macro2::TokenStream;
use quote::quote;
use tracing::debug;

use crate::{description_to_docs, make_ident, Protocol};
use crate::{
parser::Protocol,
utils::{description_to_docs, make_ident},
};

pub fn generate_client_code(protocols: &[Protocol]) -> TokenStream {
let mut modules = Vec::new();
Expand Down
Loading

0 comments on commit 100683f

Please sign in to comment.