This repository has been archived by the owner on Apr 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
WORKSPACE.bazel
62 lines (40 loc) · 1.6 KB
/
WORKSPACE.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
workspace(name = "cargo_bazel")
load("//:deps.bzl", "cargo_bazel_deps")
cargo_bazel_deps()
RUST_VERSION = "1.58.1"
load("@rules_rust//rust:repositories.bzl", "rules_rust_dependencies", "rust_register_toolchains")
rules_rust_dependencies()
rust_register_toolchains(version = RUST_VERSION)
load("//:crates.bzl", "crate_deps_repository")
crate_deps_repository(
bootstrap = True,
rust_version = RUST_VERSION,
)
load("//:crates_deps.bzl", "crate_repositories")
crate_repositories()
load("//tools/cross_installer:cross_installer_deps.bzl", "cross_installer_deps")
cross_installer_deps()
###############################################################################
# Load docs dependencies
load("//docs:docs_deps.bzl", "docs_deps")
docs_deps()
load("//docs:docs_deps_transitive.bzl", "docs_deps_transitive")
docs_deps_transitive()
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# For distro archive
http_archive(
name = "rules_pkg",
sha256 = "a89e203d3cf264e564fcb96b6e06dd70bc0557356eb48400ce4b5d97c2c3720d",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.5.1/rules_pkg-0.5.1.tar.gz",
"https://github.com/bazelbuild/rules_pkg/releases/download/0.5.1/rules_pkg-0.5.1.tar.gz",
],
)
load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies")
rules_pkg_dependencies()
# For internal tooling
http_archive(
name = "rules_python",
sha256 = "cd6730ed53a002c56ce4e2f396ba3b3be262fd7cb68339f0377a45e8227fe332",
url = "https://github.com/bazelbuild/rules_python/releases/download/0.5.0/rules_python-0.5.0.tar.gz",
)