Home
last modified time | relevance | path

Searched refs:out_dir (Results 1 – 6 of 6) sorted by relevance

/tonic/examples/
H A Dbuild.rs9 let out_dir = PathBuf::from(env::var("OUT_DIR").unwrap()); in main() localVariable
11 .file_descriptor_set_path(out_dir.join("helloworld_descriptor.bin")) in main()
37 let smallbuff_copy = out_dir.join("smallbuf"); in main()
40 .out_dir(smallbuff_copy) in main()
H A Drouteguide-tutorial.md818 .out_dir("another_crate/src/pb")
/tonic/tonic-build/src/
H A Dmanual.rs421 out_dir: Option<PathBuf>, field
430 out_dir: None, in default()
469 pub fn out_dir(mut self, out_dir: impl AsRef<Path>) -> Self { in out_dir() method
470 self.out_dir = Some(out_dir.as_ref().to_path_buf()); in out_dir()
479 let out_dir = if let Some(out_dir) = self.out_dir.as_ref() { in compile() localVariable
480 out_dir.clone() in compile()
496 let out_file = out_dir.join(format!("{}.{}.rs", service.package, service.name)); in compile()
H A Dprost.rs24 out_dir: None, in configure()
316 out_dir: Option<PathBuf>, field
359 pub fn out_dir(mut self, out_dir: impl AsRef<Path>) -> Self { in out_dir() method
360 self.out_dir = Some(out_dir.as_ref().to_path_buf()); in out_dir()
653 if let Some(out_dir) = self.out_dir.as_ref() { in setup_config()
654 config.out_dir(out_dir); in setup_config()
/tonic/codegen/src/
H A Dmain.rs71 out_dir: &Path, in codegen()
83 let out_dir = root_dir.join(out_dir); in codegen() localVariable
93 .out_dir(&tempdir) in codegen()
99 let to = out_dir.join( in codegen()
/tonic/tonic-build/
H A DREADME.md76 //.out_dir("src/google") // you can change the generated code's location
93 you can uncomment the line `.out_dir(...)` above, and in your lib file