fork/rules_rust
git clone https://git.julia.blue/fork/rules_rust
2bad96d9
cleanup
1"""Definitions for loading transitive `@rules_rust_protobuf` dependencies""" 2 3load ( "@bazel_features//:deps.bzl" , "bazel_features_deps" ) 4load ( "@bazel_tools//tools/build_defs/repo:http.bzl" , "http_archive" ) 5load ( "@bazel_tools//tools/build_defs/repo:utils.bzl" , "maybe" ) 6load ( "@rules_proto//proto:repositories.bzl" , "rules_proto_dependencies" ) 7 8def rust_proto_protobuf_transitive_repositories (): 9"""Load transitive dependencies of the `@rules_rust_protobuf` rules. 10 11This macro should be called immediately after the `rust_protobuf_dependencies` macro. 12""" 13rules_proto_dependencies () 14 15bazel_features_deps () 16 17maybe ( 18http_archive , 19name = "zlib" , 20build_file = Label ( "//3rdparty:BUILD.zlib.bazel" ), 21sha256 = "c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1" , 22strip_prefix = "zlib-1.2.11" , 23urls = [ 24"https://zlib.net/zlib-1.2.11.tar.gz" , 25"https://storage.googleapis.com/mirror.tensorflow.org/zlib.net/zlib-1.2.11.tar.gz" , 26], 27)