blob: bbdcfdb652eecb78c62056633ce19e6efb570136 [file] [log] [blame]
use Customize;
/// Path to `protobuf` crate, different when `.proto` file is
/// used inside or outside of protobuf crate.
pub(crate) fn protobuf_crate_path(customize: &Customize) -> &str {
match customize.inside_protobuf {
Some(true) => "crate",
_ => "::protobuf",
}
}