fn build_registry_proto() {
    let mut config = base_config();
    config.out_dir("gen/registry");

    config.type_attribute(".", "#[derive(serde::Serialize, serde::Deserialize)]");

    let registry_files = [
        "def/registry/conversion_rate/v1/conversion_rate.proto",
        "def/registry/crypto/v1/crypto.proto",
        "def/registry/node_operator/v1/node_operator.proto",
        "def/registry/nns/v1/nns.proto",
        "def/registry/node/v1/node.proto",
        "def/registry/firewall/v1/firewall.proto",
        "def/registry/routing_table/v1/routing_table.proto",
        "def/registry/provisional_whitelist/v1/provisional_whitelist.proto",
        "def/registry/subnet/v1/subnet.proto",
        "def/registry/replica_version/v1/replica_version.proto",
    ];

    compile_protos(config, &registry_files);
}
/// Generates Rust structs from registry Protobuf messages.
Generates Rust structs from registry Protobuf messages.
Generates Rust structs from registry Protobuf messages .
fn build_registry_proto() {
    let mut config = base_config();
    config.out_dir("gen/registry");
    config.type_attribute(".", "#[derive(serde::Serialize, serde::Deserialize)]");
    let registry_files = [
        "def/registry/conversion_rate/v1/conversion_rate.proto",
        "def/registry/crypto/v1/crypto.proto",
        "def/registry/node_operator/v1/node_operator.proto",
        "def/registry/nns/v1/nns.proto",
        "def/registry/node/v1/node.proto",
        "def/registry/firewall/v1/firewall.proto",
        "def/registry/routing_table/v1/routing_table.proto",
        "def/registry/provisional_whitelist/v1/provisional_whitelist.proto",
        "def/registry/subnet/v1/subnet.proto",
        "def/registry/replica_version/v1/replica_version.proto",
    ];
    compile_protos(config, &registry_files);
}
fn build_registry_proto ( ) { let mut config = base_config ( ) ; config . out_dir ( " " ) ; config . type_attribute ( " " , " " ) ; let registry_files = [ " " , " " , " " , " " , " " , " " , " " , " " , " " , " " , ] ; compile_protos ( config , & registry_files ) ; }
Generates Rust structs from registry Protobuf messages.
Generates Rust structs from registry Protobuf messages .