blob: fde28ffcad501fd61bb3677b76268b63203be41e [file] [log] [blame]
Marcel Hlopkoea34e632021-02-01 15:06:05 +01001workspace(name = "cxx.rs")
2
David Tolnayc19936c2020-02-22 11:48:47 -08003load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
David Tolnayc4dcb912020-10-09 16:28:06 -07004load("//tools/bazel:vendor.bzl", "vendor")
David Tolnayc19936c2020-02-22 11:48:47 -08005
6http_archive(
Andre Brisco5d3f36c2021-01-27 07:38:17 -08007 name = "rules_rust",
8 sha256 = "e6d835ee673f388aa5b62dc23d82db8fc76497e93fa47d8a4afe97abaf09b10d",
9 strip_prefix = "rules_rust-f37b9d6a552e9412285e627f30cb124e709f4f7a",
David Tolnayc19936c2020-02-22 11:48:47 -080010 urls = [
Andre Brisco5d3f36c2021-01-27 07:38:17 -080011 # Master branch as of 2021-01-27
12 "https://github.com/bazelbuild/rules_rust/archive/f37b9d6a552e9412285e627f30cb124e709f4f7a.tar.gz",
David Tolnayc19936c2020-02-22 11:48:47 -080013 ],
14)
15
Andre Brisco5d3f36c2021-01-27 07:38:17 -080016load("@rules_rust//rust:repositories.bzl", "rust_repositories")
David Tolnayc19936c2020-02-22 11:48:47 -080017
Andre Briscof5142142021-01-27 11:26:59 -080018rust_repositories(
19 edition = "2018",
20 version = "1.48.0",
21)
David Tolnayc4dcb912020-10-09 16:28:06 -070022
23vendor(
24 name = "third-party",
25 lockfile = "//third-party:Cargo.lock",
26)