goutils/ahash/BUILD.bazel

25 lines
598 B
Python
Raw Permalink Normal View History

2023-05-04 21:00:30 +00:00
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "ahash",
srcs = ["ahash.go"],
importpath = "git.wntrmute.dev/kyle/goutils/ahash",
visibility = ["//visibility:public"],
deps = [
2023-05-04 22:11:15 +00:00
"//assert",
2023-05-04 21:00:30 +00:00
"@org_golang_x_crypto//blake2b",
"@org_golang_x_crypto//blake2s",
"@org_golang_x_crypto//md4",
"@org_golang_x_crypto//ripemd160",
"@org_golang_x_crypto//sha3",
],
)
go_test(
name = "ahash_test",
2023-05-04 22:11:15 +00:00
size = "small",
2023-05-04 21:00:30 +00:00
srcs = ["ahash_test.go"],
embed = [":ahash"],
2023-05-04 22:11:15 +00:00
deps = ["//assert"],
2023-05-04 21:00:30 +00:00
)