Skip to main content

Module features

Module features 

Source
Expand description

Feature flag evaluation.

Provides FeatureContext and FeatureChecker for evaluating feature flags stored in the options system.

Structs§

FeatureChecker
FeatureContext
Application context passed to feature flag evaluation.

Enums§

FeatureError
A handle for checking feature flags within a specific namespace. Why a feature could not be evaluated. Distinct from crate::OptionsError: an unset feature is not an error here (see FeatureChecker::try_has), and a value that fails to parse as a Feature is.

Functions§

features
Get a feature checker handle for a namespace.