blob: c4bcfa70da9a980fe89020933df69006680c9ca3 [file] [log] [blame]
Devin Jeanpierredff1e702023-02-28 14:27:10 -08001load(
2 "//rs_bindings_from_cc/bazel_support:crubit_feature_hint.bzl",
3 "crubit_feature_hint",
4)
Jing Lu44f03fa2023-08-29 07:20:14 -07005load("@rules_license//rules:license.bzl", "license")
Googlerd186e222023-02-02 15:36:56 -08006
7package(
Lukasz Anforowiczaaa2a0f2023-04-11 09:01:14 -07008 default_applicable_licenses = ["//:license"],
Googlerd186e222023-02-02 15:36:56 -08009 default_visibility = ["//visibility:private"],
10)
11
12license(
13 name = "license",
14 package_name = "crubit",
15)
Googler6c3de122022-03-28 11:40:41 +000016
17licenses(["notice"])
18
19exports_files(["LICENSE"])
Devin Jeanpierredff1e702023-02-28 14:27:10 -080020
21_SUPPORTED_FEATURES = [
22 "supported",
23]
24
25# Aspect hints
26
27# Enable all Crubit features.
28# TODO(jeanpierreda): Write compatibility doc to link here, guiding how to support Crubit / when to use
29# `:supported`.
30crubit_feature_hint(
31 name = "supported",
32 crubit_features = _SUPPORTED_FEATURES,
33 visibility = ["//visibility:public"],
34)
35
36# Enable experimental/unstable crubit features. Also includes `:supported`.
37crubit_feature_hint(
38 name = "experimental",
39 crubit_features = _SUPPORTED_FEATURES + ["experimental"],
Devin Jeanpierredff65282023-03-14 20:32:28 -070040 visibility = [
41 "//:__subpackages__",
Jing Lu107be162023-07-06 01:50:22 -070042 "//security/ise_cloud/projects/safe_json_parsing:__subpackages__",
Devin Jeanpierredff65282023-03-14 20:32:28 -070043 ],
Devin Jeanpierredff1e702023-02-28 14:27:10 -080044)