Introduction
Feature flagging should not be so complicated.
Mr Flagly is a decentralized feature flagging system written in Rust with bindings for other languages.
It does not depend on third party services or require you to deploy services and databases to manage.
Supported feature flag definition sources:
- URL
- JSON Value
- Environment Variable
Rust usage
Setup your flag service:
use ;
let flag_service = new
Then, to check for feature flag:
if flag_service.enabled
Python support
=
# do something
FlagService constructor parameters
finder_type: (NULL, URL, JSON, ENVVAR)url: URL to download feature flag json datarefresh_interval: How often to poll the feature flag data endpointdata: Instead of hosting feature flag data from URL, you can provide it as a json blobenv_var: Provide feature flag data in environment variable
JSON format
JSON format for feature flag data:
}
Example activating for a particular customer
JSON config data:
Usage:
=
# do something