-
Notifications
You must be signed in to change notification settings - Fork 5
/
external_crates.bzl
74 lines (73 loc) · 3.19 KB
/
external_crates.bzl
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
load("@rules_rust//crate_universe:defs.bzl", "crate", "crates_repository", "splicing_config")
def external_crates_repository():
crates_repository(
name = "crate_index_dre",
annotations = {
"ic-adapter-metrics-service": [crate.annotation(
build_script_data = [
"@com_google_protobuf//:protoc",
"@com_google_protobuf//:well_known_protos",
],
build_script_env = {
"PROTOC": "$(execpath @com_google_protobuf//:protoc)",
"PROTOC_INCLUDE": "../com_google_protobuf/src",
},
)],
"ic-icrc1-ledger": [crate.annotation(
build_script_data = [
"@ic-icrc1-archive//file",
],
build_script_env = {
"IC_ICRC1_ARCHIVE_WASM_PATH": "$(execpath @ic-icrc1-archive//file)",
},
compile_data = [
"@ic-icrc1-archive//file",
],
rustc_env = {
"IC_ICRC1_ARCHIVE_WASM_PATH": "$(execpath @ic-icrc1-archive//file)",
},
)],
"openssl": [crate.annotation(
deps = ["@openssl//:openssl"]
)],
"openssl-probe": [crate.annotation(
deps = ["@openssl//:openssl"]
)],
"openssl-sys": [crate.annotation(
deps = ["@openssl//:openssl"]
)],
},
cargo_config = "//:.cargo/config.toml",
cargo_lockfile = "//:Cargo.lock",
isolated = False,
lockfile = "//:Cargo.Bazel.lock",
manifests = [
"//:Cargo.toml",
"//rs/canister-log-fetcher:Cargo.toml",
"//rs/cli:Cargo.toml",
"//rs/decentralization:Cargo.toml",
"//rs/ic-canisters:Cargo.toml",
"//rs/ic-management-backend:Cargo.toml",
"//rs/ic-management-types:Cargo.toml",
"//rs/ic-observability/config-writer-common:Cargo.toml",
"//rs/ic-observability/log-noise-filter-backend:Cargo.toml",
"//rs/ic-observability/log-noise-filter-downloader:Cargo.toml",
"//rs/ic-observability/multiservice-discovery:Cargo.toml",
"//rs/ic-observability/multiservice-discovery-downloader:Cargo.toml",
"//rs/ic-observability/multiservice-discovery-shared:Cargo.toml",
"//rs/ic-observability/node-status-updater:Cargo.toml",
"//rs/ic-observability/obs-canister-clients:Cargo.toml",
"//rs/ic-observability/prometheus-config-updater:Cargo.toml",
"//rs/ic-observability/service-discovery:Cargo.toml",
"//rs/ic-observability/sns-downloader:Cargo.toml",
"//rs/log-fetcher:Cargo.toml",
"//rs/np-notifications:Cargo.toml",
"//rs/slack-notifications:Cargo.toml",
"//rs/rollout-controller:Cargo.toml",
"//rs/dre-canisters/trustworthy-node-metrics/src/trustworthy-node-metrics:Cargo.toml",
"//rs/qualifier:Cargo.toml",
],
splicing_config = splicing_config(
resolver_version = "2",
),
)