2
0
Fork 0
mirror of https://github.com/bazel-contrib/bazel-lib synced 2024-11-27 17:43:27 +00:00
bazel-lib/lib/base64.bzl
Alex Eagle 0f5e1dcafd
chore(deps): upgrade stardoc (#894)
* chore(deps): upgrade stardoc

This uses the Bazel 7 'starlark_doc_extract' rule which our docsite expects for slurping data.

* chore: stardoc setup in WORKSPACE too

* chore: skip stardoc on bazel 6 in cases where the legacy extractor produces different docstrings
2024-08-08 12:56:11 -07:00

12 lines
253 B
Python

"""Utility functions for encoding and decoding strings with base64.
See https://en.wikipedia.org/wiki/Base64.
"""
load("//lib/private:base64.bzl", _decode = "decode", _encode = "encode")
base64 = struct(
decode = _decode,
encode = _encode,
)