solana_libra_types 0.0.0

Solana Libra types
// Copyright (c) The Libra Core Contributors
// SPDX-License-Identifier: Apache-2.0

//! This compiles all the `.proto` files under `src/` directory.
//!
//! For example, if there is a file `src/a/b/c.proto`, it will generate `src/a/b/c.rs` and
//! `src/a/b/c_grpc.rs`.

#[cfg(feature = "build-proto")]
fn main() {
    let proto_root = "src/proto";

    build_helpers::build_helpers::compile_proto(
        proto_root,
        vec![], /* dependent roots */
        false,  /* generate_client_stub */
    );
}

#[cfg(not(feature = "build-proto"))]
fn main() {}