third_party_rust_cxx/WORKSPACE

27 lines
719 B
Python
Raw Normal View History

workspace(name = "cxx.rs")
2020-02-22 19:48:47 +00:00
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("//tools/bazel:vendor.bzl", "vendor")
2020-02-22 19:48:47 +00:00
http_archive(
2021-01-27 15:38:17 +00:00
name = "rules_rust",
2021-04-11 17:33:08 +00:00
sha256 = "697a6f4f2adbd1b00f792346d6eca4cd45f691be63069c7d7ebf4fcf82a377a8",
strip_prefix = "rules_rust-8bad4c5e4e53d9f6f8d4d5228e26a44d92f37ab2",
2020-02-22 19:48:47 +00:00
urls = [
2021-04-11 17:33:08 +00:00
# Master branch as of 2021-04-11
"https://github.com/bazelbuild/rules_rust/archive/8bad4c5e4e53d9f6f8d4d5228e26a44d92f37ab2.tar.gz",
2020-02-22 19:48:47 +00:00
],
)
2021-01-27 15:38:17 +00:00
load("@rules_rust//rust:repositories.bzl", "rust_repositories")
2020-02-22 19:48:47 +00:00
2021-01-27 19:26:59 +00:00
rust_repositories(
edition = "2018",
2021-04-11 17:28:55 +00:00
version = "1.51.0",
2021-01-27 19:26:59 +00:00
)
vendor(
name = "third-party",
lockfile = "//third-party:Cargo.lock",
)