github.com/lestrrat-go/jwx/v2@v2.0.21/jwt/BUILD.bazel (about)

     1  load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
     2  
     3  go_library(
     4      name = "jwt",
     5      srcs = [
     6          "builder_gen.go",
     7          "http.go",
     8          "interface.go",
     9          "io.go",
    10          "jwt.go",
    11          "options.go",
    12          "options_gen.go",
    13          "serialize.go",
    14          "token_gen.go",
    15          "token_options.go",
    16          "token_options_gen.go",
    17          "validate.go",
    18      ],
    19      importpath = "github.com/lestrrat-go/jwx/v2/jwt",
    20      visibility = ["//visibility:public"],
    21      deps = [
    22          "//:jwx",
    23          "//internal/base64",
    24          "//internal/iter",
    25          "//internal/json",
    26          "//internal/pool",
    27          "//jwa",
    28          "//jwe",
    29          "//jwk",
    30          "//jws",
    31          "//jwt/internal/types",
    32          "@com_github_lestrrat_go_iter//mapiter:go_default_library",
    33          "@com_github_lestrrat_go_option//:option",
    34      ],
    35  )
    36  
    37  go_test(
    38      name = "jwt_test",
    39      srcs = [
    40          "jwt_test.go",
    41          "options_gen_test.go",
    42          "token_options_test.go",
    43          "token_test.go",
    44          "validate_test.go",
    45      ],
    46      embed = [":jwt"],
    47      deps = [
    48          "//internal/ecutil",
    49          "//internal/json",
    50          "//internal/jwxtest",
    51          "//jwa",
    52          "//jwe",
    53          "//jwk",
    54          "//jws",
    55          "//jwt/internal/types",
    56          "@com_github_stretchr_testify//assert",
    57          "@com_github_stretchr_testify//require",
    58      ],
    59  )
    60  
    61  alias(
    62      name = "go_default_library",
    63      actual = ":jwt",
    64      visibility = ["//visibility:public"],
    65  )