Sign in
apache
/
teaclave-crates
/
refs/heads/legacy
/
.
/
tonic
/
tests
/
extern_path
/
my_application
/
build.rs
blob: 5d25b018d9fce0ee6aece0cca840a70cd0af53bf [
file
] [
log
] [
blame
]
fn
main
()
->
Result
<(),
std
::
io
::
Error
>
{
tonic_build
::
configure
()
.
build_server
(
false
)
.
build_client
(
true
)
.
extern_path
(
".uuid"
,
"::uuid"
)
.
compile
(
&[
"service.proto"
,
"uuid.proto"
],
&[
"../proto/my_application"
,
"../proto/uuid"
],
)?;
Ok
(())
}