-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathWORKSPACE.bazel
More file actions
53 lines (38 loc) · 1.57 KB
/
WORKSPACE.bazel
File metadata and controls
53 lines (38 loc) · 1.57 KB
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
workspace(
name = "dre",
)
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# rules_rust:0.61.0 depends on UEFI, so let's pin platforms repository to a version that includes UEFI support
http_archive(
name = "platforms",
sha256 = "3384eb1c30762704fbe38e440204e114154086c8fc8a8c2e3e28441028c019a8",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/platforms/releases/download/1.0.0/platforms-1.0.0.tar.gz",
"https://github.com/bazelbuild/platforms/releases/download/1.0.0/platforms-1.0.0.tar.gz",
],
)
http_archive(
name = "rules_rust",
integrity = "sha256-U8G6x+xI985IxMHGqgBvJ1Fa3SrrBXJZNyJObgDsfOo=",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.61.0/rules_rust-0.61.0.tar.gz"],
)
load("@rules_rust//rust:repositories.bzl", "rules_rust_dependencies", "rust_register_toolchains")
load("@rules_rust//tools/rust_analyzer:deps.bzl", "rust_analyzer_dependencies")
rules_rust_dependencies()
rust_analyzer_dependencies()
rust_register_toolchains(
edition = "2024",
versions = [
"1.90.0",
],
)
load("@rules_rust//crate_universe:repositories.bzl", "crate_universe_dependencies")
crate_universe_dependencies()
load("//bazel:external_crates.bzl", "external_crates_repository")
external_crates_repository()
load("@crate_index_dre//:defs.bzl", "crate_repositories")
crate_repositories()
load("//3rdparty/bazel-rules-openssl:repos.bzl", openssl_repos="repos")
openssl_repos()
load("@com_github_3rdparty_bazel_rules_openssl//bazel:deps.bzl", openssl_deps="deps")
openssl_deps()