zksync_consensus_storage 0.1.0-rc.2

ZKsync consensus storage
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Generates rust code from protobufs.
fn main() {
    zksync_protobuf_build::Config {
        input_root: "src/proto".into(),
        proto_root: "zksync/storage".into(),
        dependencies: vec!["::zksync_consensus_roles::proto".parse().unwrap()],
        protobuf_crate: "::zksync_protobuf".parse().unwrap(),
        is_public: false,
    }
    .generate()
    .expect("generate()");
}