FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
hbb_common/build.rs at main · omstack/hbb_common · GitHub
omstack
hbb_common
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
hbb_common
/
build.rs
Copy path
More file actions
More file actions
Latest commit
History
History
History
14 lines (12 loc) · 418 Bytes
Breadcrumbs
hbb_common
/
build.rs
Copy path
File metadata and controls
14 lines (12 loc) · 418 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
fn
main
(
)
{
let
out_dir =
format
!
(
"{}/protos"
,
std
::
env
::
var
(
"OUT_DIR"
)
.
unwrap
(
)
)
;
std
::
fs
::
create_dir_all
(
&
out_dir
)
.
unwrap
(
)
;
protobuf_codegen
::
Codegen
::
new
(
)
.
pure
(
)
.
out_dir
(
out_dir
)
.
inputs
(
[
"protos/rendezvous.proto"
]
)
.
include
(
"protos"
)
.
customize
(
protobuf_codegen
::
Customize
::
default
(
)
.
tokio_bytes
(
true
)
)
.
run
(
)
.
expect
(
"Codegen failed."
)
;
}
Back
|
FazBrowse Home
|
New Git URL