pub fn generate_hooks<P: AsRef<Path>, P2: AsRef<Path>, P3: AsRef<Path>>(
protos: &[P],
includes: &[P2],
to_path: &Option<P3>,
prost_mod: Option<&str>,
uri: &str,
) -> Result<(), Error>Expand description
- to_path: Is the directory in which files should be written to. When
None, defaults toOUT_DIR - prost_mod: If you moved the codegen of proto in a module