fork/rules_rust
git clone https://git.julia.blue/fork/rules_rust
59fab4e7
0.8.1
1"""Third party dependencies of `cargo-bazel`""" 2 3load ( "@bazel_tools//tools/build_defs/repo:http.bzl" , "http_archive" ) 4load ( "@bazel_tools//tools/build_defs/repo:utils.bzl" , "maybe" ) 5 6def third_party_deps (): 7maybe ( 8http_archive , 9name = "zlib" , 10build_file = Label ( "//crate_universe/3rdparty:BUILD.zlib.bazel" ), 11sha256 = "c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1" , 12strip_prefix = "zlib-1.2.11" , 13urls = [ 14"https://zlib.net/zlib-1.2.11.tar.gz" , 15"https://storage.googleapis.com/mirror.tensorflow.org/zlib.net/zlib-1.2.11.tar.gz" , 16], 17) 18 19maybe ( 20http_archive , 21name = "libgit2" , 22build_file = Label ( "//crate_universe/3rdparty:BUILD.libgit2.bazel" ), 23sha256 = "9051e75964350054d5e3f9339bc4d1fb56ac14949710e3860f98f07a0433fa25" , 24# The version here should match the version used with the Rust crate `libgit2-sys` 25# https://github.com/rust-lang/git2-rs/tree/libgit2-sys-0.13.0/libgit2-sys 26strip_prefix = "libgit2-1.4.0" , 27urls = [ "https://github.com/libgit2/libgit2/archive/refs/tags/v1.4.0.tar.gz" ], 28)