-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1c44a47
commit f8c190f
Showing
12 changed files
with
399 additions
and
93 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
use once_cell::sync::Lazy; | ||
use prost_reflect::DescriptorPool; | ||
use std::convert::AsRef; | ||
|
||
pub(crate) mod grpc { | ||
pub(crate) mod reflection { | ||
#![allow(warnings)] | ||
#![allow(clippy::all)] | ||
#![allow(unknown_lints)] | ||
include!(concat!(env!("OUT_DIR"), "/grpc.reflection.v1alpha.rs")); | ||
} | ||
} | ||
pub(crate) mod restate { | ||
pub(crate) mod services { | ||
#![allow(warnings)] | ||
#![allow(clippy::all)] | ||
#![allow(unknown_lints)] | ||
include!(concat!(env!("OUT_DIR"), "/dev.restate.rs")); | ||
} | ||
} | ||
|
||
pub(crate) static DESCRIPTOR_POOL: Lazy<DescriptorPool> = Lazy::new(|| { | ||
DescriptorPool::decode( | ||
include_bytes!(concat!(env!("OUT_DIR"), "/file_descriptor_set.bin")).as_ref(), | ||
) | ||
.expect("The built-in descriptor pool should be valid") | ||
}); |
Oops, something went wrong.