File: BUILD.bazel

package info (click to toggle)
golang-github-lestrrat-go-jwx 2.1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,872 kB
  • sloc: sh: 222; makefile: 86; perl: 62
file content (32 lines) | stat: -rw-r--r-- 663 bytes parent folder | download
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
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")

go_library(
    name = "cipher",
    srcs = [
        "cipher.go",
        "interface.go",
    ],
    importpath = "github.com/lestrrat-go/jwx/v2/jwe/internal/cipher",
    visibility = ["//:__subpackages__"],
    deps = [
        "//jwa",
        "//jwe/internal/aescbc",
        "//jwe/internal/keygen",
    ],
)

go_test(
    name = "cipher_test",
    srcs = ["cipher_test.go"],
    deps = [
        ":cipher",
        "//jwa",
        "@com_github_stretchr_testify//assert",
    ],
)

alias(
    name = "go_default_library",
    actual = ":cipher",
    visibility = ["//jwe:__subpackages__"],
)