25 lines
598 B
Python
25 lines
598 B
Python
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 = [
|
|
"//assert",
|
|
"@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",
|
|
size = "small",
|
|
srcs = ["ahash_test.go"],
|
|
embed = [":ahash"],
|
|
deps = ["//assert"],
|
|
)
|