1workspace(name = "cxx.rs") 2 3load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") 4load("//tools/bazel:vendor.bzl", "vendor") 5 6http_archive( 7 name = "rules_rust", 8 sha256 = "e6d835ee673f388aa5b62dc23d82db8fc76497e93fa47d8a4afe97abaf09b10d", 9 strip_prefix = "rules_rust-f37b9d6a552e9412285e627f30cb124e709f4f7a", 10 urls = [ 11 # Master branch as of 2021-01-27 12 "https://github.com/bazelbuild/rules_rust/archive/f37b9d6a552e9412285e627f30cb124e709f4f7a.tar.gz", 13 ], 14) 15 16load("@rules_rust//rust:repositories.bzl", "rust_repositories") 17 18rust_repositories( 19 edition = "2018", 20 version = "1.50.0", 21) 22 23vendor( 24 name = "third-party", 25 lockfile = "//third-party:Cargo.lock", 26) 27