Dependency slots gain explicit cardinality, letting a slot bind to multiple producers through a uniform consumer API.
Released on July 14, 2026
Dependency-slot cardinality
- Dependency slots now support explicit cardinality, letting a slot bind to one or more producers instead of exactly one.
- Bindings can target multiple producers, and consumers read them through a uniform
bound_producers()API regardless of cardinality. - Generated producer accessors reflect each slot's cardinality: single-producer slots expose
bound_producer()while multi-producer slots exposebound_producers(). - Bindings can now specify explicit service and action targets.
- Slots declared
one_or_moremust be non-empty, and this check now applies to programmatically suppliedFlagsvalues as well as arrays.