Flipt Rust
This directory contains the Rust source code for the Flipt server-side client.
Documentation
API documentation is available at https://www.flipt.io/docs/reference/overview.
Installation
Usage
In your Rust code you can import this client and use it as so:
use HashMap;
use FliptClient;
use EvaluationRequest;
async
There is a more detailed example in the examples directory.
Setting HTTP Headers
You can set custom HTTP headers for the client by using the with_headers method in the ConfigBuilder.
let client = new;
Flipt V2 Environment Support
Flipt V2 introduces the concept of environments. This client supports evaluation of flags in a specific environment by using the X-Flipt-Environment header.
let client = new;