{"id":17753134,"url":"https://github.com/configcat/openfeature-rust","last_synced_at":"2026-01-19T15:02:21.118Z","repository":{"id":252248522,"uuid":"836246508","full_name":"configcat/openfeature-rust","owner":"configcat","description":"ConfigCat OpenFeature Provider for Rust.","archived":false,"fork":false,"pushed_at":"2025-08-19T12:48:51.000Z","size":25,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-08-19T14:40:18.550Z","etag":null,"topics":["configcat","feature-flagging","feature-flags","feature-toggles","openfeature","remote-configuration","rust"],"latest_commit_sha":null,"homepage":"https://configcat.com/docs/sdk-reference/openfeature/rust","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/configcat.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-31T12:55:04.000Z","updated_at":"2025-08-19T12:48:54.000Z","dependencies_parsed_at":"2024-08-08T16:39:36.550Z","dependency_job_id":null,"html_url":"https://github.com/configcat/openfeature-rust","commit_stats":null,"previous_names":["configcat/openfeature-rust"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/configcat/openfeature-rust","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/configcat%2Fopenfeature-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/configcat%2Fopenfeature-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/configcat%2Fopenfeature-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/configcat%2Fopenfeature-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/configcat","download_url":"https://codeload.github.com/configcat/openfeature-rust/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/configcat%2Fopenfeature-rust/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28572579,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T14:39:55.009Z","status":"ssl_error","status_checked_at":"2026-01-19T14:39:01.217Z","response_time":67,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["configcat","feature-flagging","feature-flags","feature-toggles","openfeature","remote-configuration","rust"],"created_at":"2024-10-26T13:22:45.353Z","updated_at":"2026-01-19T15:02:21.101Z","avatar_url":"https://github.com/configcat.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ConfigCat OpenFeature Provider for Rust\n\n[![Build Status](https://github.com/configcat/openfeature-rust/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/configcat/openfeature-rust/actions/workflows/ci.yml)\n[![crates.io](https://img.shields.io/crates/v/configcat-openfeature-provider.svg?logo=rust)](https://crates.io/crates/configcat-openfeature-provider)\n[![docs.rs](https://img.shields.io/badge/docs.rs-configcat_openfeature_provider-66c2a5?logo=docs.rs)](https://docs.rs/configcat-openfeature-provider)\n\nThis repository contains an OpenFeature provider that allows [ConfigCat](https://configcat.com) to be used with the [OpenFeature Rust SDK](https://github.com/open-feature/rust-sdk).\n\n## Installation\n\nRun the following Cargo command in your project directory:\n```shell\ncargo add configcat-openfeature-provider\n```\n\nOr add the following to your `Cargo.toml`:\n\n```toml\n[dependencies]\nconfigcat-openfeature-provider = \"0.1\"\n```\n\n## Usage\n\nThe `ConfigCatProvider` needs a pre-configured [ConfigCat Rust SDK](https://github.com/configcat/rust-sdk) client:\n\n```rust\nuse std::time::Duration;\nuse configcat::{Client, PollingMode};\nuse open_feature::OpenFeature;\nuse configcat_openfeature_provider::ConfigCatProvider;\n\n#[tokio::main]\nasync fn main() {\n    // Acquire an OpenFeature API instance.\n    let mut api = OpenFeature::singleton_mut().await;\n\n    // Configure the ConfigCat SDK.\n    let configcat_client = Client::builder(\"\u003cYOUR-CONFIGCAT-SDK-KEY\u003e\")\n        .polling_mode(PollingMode::AutoPoll(Duration::from_secs(60)))\n        .build()\n        .unwrap();\n\n    // Configure the provider.\n    api.set_provider(ConfigCatProvider::new(configcat_client)).await;\n\n    // Create a client.\n    let client = api.create_client();\n\n    // Evaluate a feature flag.\n    let is_awesome_feature_enabled = client\n        .get_bool_value(\"isAwesomeFeatureEnabled\", None, None)\n        .await\n        .unwrap_or(false);\n}\n```\n\nFor more information about all the configuration options, see the [Rust SDK documentation](https://configcat.com/docs/sdk-reference/rust/#creating-the-configcat-client).\n\n## Example\n\nThis repository contains a simple [example application](./examples/print_eval.rs) that you can run with:\n```shell\ncargo run --example print_eval\n```\n\n## Need help?\nhttps://configcat.com/support\n\n## Contributing\nContributions are welcome. For more info please read the [Contribution Guideline](CONTRIBUTING.md).\n\n## About ConfigCat\nConfigCat is a feature flag and configuration management service that lets you separate releases from deployments. You can turn your features ON/OFF using \u003ca href=\"https://app.configcat.com\" target=\"_blank\"\u003eConfigCat Dashboard\u003c/a\u003e even after they are deployed. ConfigCat lets you target specific groups of users based on region, email or any other custom user attribute.\n\nConfigCat is a \u003ca href=\"https://configcat.com\" target=\"_blank\"\u003ehosted feature flag service\u003c/a\u003e. Manage feature toggles across frontend, backend, mobile, desktop apps. \u003ca href=\"https://configcat.com\" target=\"_blank\"\u003eAlternative to LaunchDarkly\u003c/a\u003e. Management app + feature flag SDKs.\n\n- [Official ConfigCat SDKs for other platforms](https://github.com/configcat)\n- [Documentation](https://configcat.com/docs)\n- [Blog](https://configcat.com/blog)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconfigcat%2Fopenfeature-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconfigcat%2Fopenfeature-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconfigcat%2Fopenfeature-rust/lists"}