use std::path::Path;
pub(crate) mod flatbuffers_self;
pub(crate) mod flatbuffers_tonic;
pub fn compile_flatbuffers_tonic<P>(fbs_path: &[P]) -> Result<(), Box<dyn std::error::Error>>
where
P: AsRef<Path>,
{
flatbuffers_self::compile_flat_buffer_self(fbs_path);
flatbuffers_tonic::compile_flatbuffers_tonic_file_list_only(fbs_path)?;
Ok(())
}