[−][src]Function exonum_build::get_exonum_protobuf_files_path
pub fn get_exonum_protobuf_files_path() -> String
Get path to the folder containing exonum
protobuf files.
Needed for code generation of .proto files which import exonum
provided .proto files.
Examples
extern crate exonum_build; use exonum_build::{protobuf_generate, get_exonum_protobuf_files_path}; let exonum_protos = get_exonum_protobuf_files_path(); protobuf_generate( "src/proto", &["src/proto", &exonum_protos], "protobuf_mod.rs", );