OFREP Provider for OpenFeature
A Rust implementation of the OpenFeature OFREP provider, enabling dynamic feature flag evaluation in your applications.
This provider allows to connect to any feature flag management system that supports OFREP.
Installation
Add the dependency in your Cargo.toml
:
Then integrate it into your application:
use Duration;
use FeatureProvider;
use EvaluationContext;
use ;
use ;
async
Configuration Options
Configurations can be provided as constructor options. The following options are supported:
Option | Type / Supported Value | Default |
---|---|---|
base_url | string | http://localhost:8016 |
headers | HeaderMap | Empty Map |
connect_timeout | Duration | 10 seconds |
License
Apache 2.0 - See LICENSE for more information.