fn build_types_proto() {
    let mut config = base_config();
    config.out_dir("gen/types");
    config.type_attribute(".", "#[derive(serde::Serialize, serde::Deserialize)]");
    config.type_attribute(".types.v1.CatchUpPackage", "#[derive(Eq, Hash)]");
    config.type_attribute(".types.v1.SubnetId", "#[derive(Eq, Hash)]");
    config.type_attribute(".types.v1.NiDkgId", "#[derive(Eq, Hash)]");
    config.type_attribute(".types.v1.PrincipalId", "#[derive(Eq, Hash)]");
    let files = [
        "def/types/v1/types.proto",
        "def/types/v1/dkg.proto",
        "def/types/v1/consensus.proto",
    ];
    compile_protos(config, &files);
}
/// Generates Rust structs from types Protobuf messages.
Generates Rust structs from types Protobuf messages.
Generates Rust structs from types Protobuf messages .
fn build_types_proto() {
    let mut config = base_config();
    config.out_dir("gen/types");
    config.type_attribute(".", "#[derive(serde::Serialize, serde::Deserialize)]");
    config.type_attribute(".types.v1.CatchUpPackage", "#[derive(Eq, Hash)]");
    config.type_attribute(".types.v1.SubnetId", "#[derive(Eq, Hash)]");
    config.type_attribute(".types.v1.NiDkgId", "#[derive(Eq, Hash)]");
    config.type_attribute(".types.v1.PrincipalId", "#[derive(Eq, Hash)]");
    let files = [
        "def/types/v1/types.proto",
        "def/types/v1/dkg.proto",
        "def/types/v1/consensus.proto",
    ];
    compile_protos(config, &files);
}
fn build_types_proto ( ) { let mut config = base_config ( ) ; config . out_dir ( " " ) ; config . type_attribute ( " " , " " ) ; config . type_attribute ( " " , " " ) ; config . type_attribute ( " " , " " ) ; config . type_attribute ( " " , " " ) ; config . type_attribute ( " " , " " ) ; let files = [ " " , " " , " " , ] ; compile_protos ( config , & files ) ; }
Generates Rust structs from types Protobuf messages.
Generates Rust structs from types Protobuf messages .