-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add default out_dir support #262
base: master
Are you sure you want to change the base?
Conversation
@jokemanfire The feature is useful, and I think we'd better not update the example because I occasionally need to check the generated code and out_dir is not easy to find. By the way, please take a look at the failed CI, thanks |
dbda636
to
ea662c5
Compare
Ok ,I've changed and add usage in doc. |
@jokemanfire I left a new comment, PTAL, thanks |
4199a48
to
5b5cbcd
Compare
CI now have some problem need update rustc version ??? |
f51fe8b
to
2ec475f
Compare
If not set out_dir,it will use env 'OUT_DIR',to generate proto rs file. You can use 'include!' marco to include env 'OUT_DIR' proto rs . Signed-off-by: jokemanfire <[email protected]>
because this error "package `home v0.5.11` cannot be built \ because it requires rustc 1.81 or newer,\ while the currently active rustc version is 1.77.0" Signed-off-by: jokemanfire <[email protected]>
If not set out_dir,it will use env 'OUT_DIR' to generate proto rs file.You can use 'include!' marco to include env 'OUT_DIR' proto rs .
And you needn't to create a dir in your source dir.