Skip to content

Commit

Permalink
Modify readme
Browse files Browse the repository at this point in the history
Add gen_mod feature in readme

Signed-off-by: jokemanfire <[email protected]>
  • Loading branch information
jokemanfire committed Oct 12, 2024
1 parent 0210c7a commit 522499c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ Currently we only support generating async codes by using ttrpc-codegen
.include("protocols/protos")
.rust_protobuf()
.customize(Customize {
gen_mod: true, // Gen mod will add mod.rs in out_dir.It's compatible with protobuf's gen_mod_rs
async_all: true, // It's the key option.
..Default::default()
})
Expand Down

0 comments on commit 522499c

Please sign in to comment.