You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
719 B
27 lines
719 B
workspace(name = "cxx.rs")
|
|
|
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
|
load("//tools/bazel:vendor.bzl", "vendor")
|
|
|
|
http_archive(
|
|
name = "rules_rust",
|
|
sha256 = "e6d835ee673f388aa5b62dc23d82db8fc76497e93fa47d8a4afe97abaf09b10d",
|
|
strip_prefix = "rules_rust-f37b9d6a552e9412285e627f30cb124e709f4f7a",
|
|
urls = [
|
|
# Master branch as of 2021-01-27
|
|
"https://github.com/bazelbuild/rules_rust/archive/f37b9d6a552e9412285e627f30cb124e709f4f7a.tar.gz",
|
|
],
|
|
)
|
|
|
|
load("@rules_rust//rust:repositories.bzl", "rust_repositories")
|
|
|
|
rust_repositories(
|
|
edition = "2018",
|
|
version = "1.50.0",
|
|
)
|
|
|
|
vendor(
|
|
name = "third-party",
|
|
lockfile = "//third-party:Cargo.lock",
|
|
)
|