Providers

rules_batch defines two marker providers for type-safe dependency graphs:

ProviderAdvertised byRequired by
BatInfobat_librarydeps of bat_binary, bat_test, bat_library
BatBinaryInfobat_binary, bat_test--

These providers carry no fields; they exist so that deps attributes can restrict the set of allowed targets to the appropriate rule types.

Load them from the public API:

load("@rules_batch//batch:bat_info.bzl", "BatInfo")
load("@rules_batch//batch:bat_binary_info.bzl", "BatBinaryInfo")