zksync_protobuf_config 26.2.1-non-semver-compat

Protobuf deserialization for ZKsync configs
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".into(),
        dependencies: vec!["::zksync_protobuf::proto".parse().unwrap()],
        protobuf_crate: "::zksync_protobuf".parse().unwrap(),
        is_public: true,
    }
    .generate()
    .unwrap();
}