forked from kroma-network/tachyon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
81 lines (55 loc) · 1.91 KB
/
WORKSPACE
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
workspace(name = "kroma_network_tachyon")
load("//bazel:tachyon_deps.bzl", "tachyon_deps")
tachyon_deps()
# Start of buildifier
load("//bazel:buildifier_deps.bzl", "buildifier_deps")
buildifier_deps()
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
go_register_toolchains(version = "1.20.3")
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
gazelle_dependencies()
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
protobuf_deps()
# End of buildifier
# Start of rules_rust
load("@rules_rust//rust:repositories.bzl", "rules_rust_dependencies", "rust_register_toolchains")
rules_rust_dependencies()
rust_register_toolchains(
edition = "2021",
versions = [
"1.66.1",
],
)
load("@rules_rust//crate_universe:repositories.bzl", "crate_universe_dependencies")
crate_universe_dependencies()
load("@rules_rust//crate_universe:defs.bzl", "crate", "crates_repository")
crates_repository(
name = "crate_index",
cargo_lockfile = "//:Cargo.lock",
lockfile = "//:Cargo.Bazel.lock",
manifests = [
"//:Cargo.toml",
"//benchmark/msm/arkworks:Cargo.toml",
"//benchmark/msm/bellman:Cargo.toml",
"//benchmark/msm/halo2:Cargo.toml",
"//tachyon/rs:Cargo.toml",
"//vendors/halo2:Cargo.toml",
],
packages = {
# See https://github.com/bazelbuild/rules_rust/issues/2071#issuecomment-1656204269
"serde": crate.spec(version = "=1.0.164"),
},
)
load(
"@crate_index//:defs.bzl",
tachyon_crate_repositories = "crate_repositories",
)
tachyon_crate_repositories()
# End of rules_rust
load("@cxx.rs//third-party/bazel:defs.bzl", cxx_create_repositories = "crate_repositories")
cxx_create_repositories()
load("//bazel:pybind11_deps.bzl", "pybind11_deps")
pybind11_deps()
load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies")
rules_pkg_dependencies()