-
Notifications
You must be signed in to change notification settings - Fork 3
/
BUILD
46 lines (40 loc) · 1.02 KB
/
BUILD
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
# SPDX-FileCopyrightText: 2023 Rivos Inc.
#
# SPDX-License-Identifier: Apache-2.0
package(default_visibility = ["//visibility:public"])
load("@rules_rust//rust:defs.bzl", "rust_clippy", "rust_library", "rust_test", "rustfmt_test")
rust_library(
name = "rice",
srcs = glob(["src/**/*.rs"]),
deps = [
"@rice-index//:arrayvec",
"@rice-index//:const-oid",
"@rice-index//:der",
"@rice-index//:digest",
"@rice-index//:ed25519",
"@rice-index//:ed25519-dalek",
"@rice-index//:flagset",
"@rice-index//:generic-array",
"@rice-index//:hex",
"@rice-index//:hkdf",
"@rice-index//:hmac",
"@rice-index//:sha2",
"@rice-index//:signature",
"@rice-index//:spin",
"@rice-index//:spki",
"@rice-index//:zeroize",
],
)
rust_clippy(
name = "clippy",
deps = ["rice"],
)
rustfmt_test(
name = "rustfmt",
targets = ["rice"],
)
rust_test(
name = "rice-test",
testonly = True,
crate = ":rice",
)