Expand description
Typed model for Cabin’s experimental (unstable) feature gates.
Experimental features are opt-in behaviors that may change or
disappear between releases. The user enables one per invocation
with the global -Z <feature> CLI flag; nothing here persists
into manifests, lockfiles, or config files. The enum lives in
cabin-core so the CLI parser and every crate that gates a pass
on a feature share one name list and one error wording.
The registry is currently empty - no feature is gated behind
-Z today, so every -Z <value> is rejected as unknown. Adding
a feature means adding a variant, its as_str spelling, and an
ALL entry; the parser and its error message follow from those.
Structs§
- Unknown
Experimental Feature - Error returned when a
-Zvalue names no recognized experimental feature. TheDisplayimpl is the user-visible wording; with no feature registered it reads:
Enums§
- Experimental
Feature - One recognized experimental feature, as accepted by
-Z.