zksync_types 26.7.0-non-semver-compat

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