blob: ce4e1acb4a673e99c3faff888f999e50e38122ba [file] [log] [blame]
David Tolnayc19936c2020-02-22 11:48:47 -08001load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
David Tolnayc4dcb912020-10-09 16:28:06 -07002load("//tools/bazel:vendor.bzl", "vendor")
David Tolnayc19936c2020-02-22 11:48:47 -08003
4http_archive(
Andre Brisco5d3f36c2021-01-27 07:38:17 -08005 name = "rules_rust",
6 sha256 = "e6d835ee673f388aa5b62dc23d82db8fc76497e93fa47d8a4afe97abaf09b10d",
7 strip_prefix = "rules_rust-f37b9d6a552e9412285e627f30cb124e709f4f7a",
David Tolnayc19936c2020-02-22 11:48:47 -08008 urls = [
Andre Brisco5d3f36c2021-01-27 07:38:17 -08009 # Master branch as of 2021-01-27
10 "https://github.com/bazelbuild/rules_rust/archive/f37b9d6a552e9412285e627f30cb124e709f4f7a.tar.gz",
David Tolnayc19936c2020-02-22 11:48:47 -080011 ],
12)
13
Andre Brisco5d3f36c2021-01-27 07:38:17 -080014load("@rules_rust//rust:repositories.bzl", "rust_repositories")
David Tolnayc19936c2020-02-22 11:48:47 -080015
Andre Brisco5d3f36c2021-01-27 07:38:17 -080016rust_repositories()
David Tolnayc4dcb912020-10-09 16:28:06 -070017
18vendor(
19 name = "third-party",
20 lockfile = "//third-party:Cargo.lock",
21)