-
Notifications
You must be signed in to change notification settings - Fork 28
feat(flags): Add feature flags with local evaluation support #36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
| use serde_json::json; | ||
|
|
||
| #[cfg(feature = "async-client")] | ||
| #[tokio::main] |
Check failure
Code scanning / CodeQL
Cleartext logging of sensitive information High
user_id
This operation writes
user_id
This operation writes
user_id
This operation writes
user_id
| ); | ||
|
|
||
| match client | ||
| .get(&url) |
Check failure
Code scanning / CodeQL
Cleartext transmission of sensitive information High
config.project_api_key
| ); | ||
|
|
||
| match client | ||
| .get(&url) |
Check failure
Code scanning / CodeQL
Cleartext transmission of sensitive information High
config.project_api_key
|
|
||
| let response = self | ||
| .client | ||
| .get(&url) |
Check failure
Code scanning / CodeQL
Cleartext transmission of sensitive information High
... .project_api_key
|
|
||
| let response = self | ||
| .client | ||
| .get(&url) |
Check failure
Code scanning / CodeQL
Cleartext transmission of sensitive information High
Summary
This PR adds comprehensive feature flag support to the PostHog Rust SDK
Key features:
ClientOptionsBuilderMajor additions:
feature_flags.rs: Core feature flag evaluation logiclocal_evaluation.rs: Local caching and evaluation systemendpoints.rs: PostHog API endpoint definitions