Hello! Nice project! I found out about this project when I saw its pull request into the Bazel Central Registry.
I wanted to mention that I recently was trying to get starlark SRI hashing as a method on Bazel's repository_ctx in
bazelbuild/bazel#29179 - not sure if it will make it in or not (depends on if maintainers will accept it), but thought I'd mention it. The use case there was for verifying the integrity of files that weren't downloaded via Bazel. After seeing what you implemented here, it made me think that I should follow your example and also add multiple output formats. My current pull request only supports SRI hashes. I'll see if I have some time to add that later this week.
Feel free to close this issue - it was just an FYI of similar functionality that could land in Bazel.
Hello! Nice project! I found out about this project when I saw its pull request into the Bazel Central Registry.
I wanted to mention that I recently was trying to get starlark SRI hashing as a method on Bazel's
repository_ctxinbazelbuild/bazel#29179 - not sure if it will make it in or not (depends on if maintainers will accept it), but thought I'd mention it. The use case there was for verifying the integrity of files that weren't downloaded via Bazel. After seeing what you implemented here, it made me think that I should follow your example and also add multiple output formats. My current pull request only supports SRI hashes. I'll see if I have some time to add that later this week.
Feel free to close this issue - it was just an FYI of similar functionality that could land in Bazel.