Using Bzlmod with Bazel 6
- Enable with
common --enable_bzlmodin.bazelrc. - Add to your
MODULE.bazelfile:
bazel_dep(name = "bazel_features", version = "1.51.0")Using WORKSPACE
Paste this snippet into your file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "bazel_features",
sha256 = "5450bfb2c8b4bc961c75368838f86156f563cc9adef1be7d504fc5619d54daab",
strip_prefix = "bazel_features-1.51.0",
url = "https://github.com/bazel-contrib/bazel_features/releases/download/v1.51.0/bazel_features-v1.51.0.tar.gz",
)
load("@bazel_features//:deps.bzl", "bazel_features_deps")
bazel_features_deps()What's Changed
New Contributors
Full Changelog: v1.50.0...v1.51.0