statsig-python-core 0.23.3b2610170206__tar.gz → 0.24.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/Cargo.lock +24 -14
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/Cargo.toml +1 -1
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/PKG-INFO +1 -1
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-grpc/src/lib.rs +3 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-grpc/src/mock_forward_proxy.rs +4 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/src/statsig_user_py.rs +1 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/Cargo.toml +2 -2
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/__tests__/spec_store_tests.rs +41 -0
- statsig_python_core-0.24.0/statsig-rust/src/data_store_interface.rs +335 -0
- statsig_python_core-0.24.0/statsig-rust/src/data_store_lifecycle.rs +617 -0
- statsig_python_core-0.24.0/statsig-rust/src/evaluation/__tests__/evaluator_context_tests.rs +188 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/__tests__/mod.rs +1 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/evaluation_details.rs +5 -1
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/evaluator.rs +123 -45
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/evaluator_context.rs +88 -4
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/evaluator_result.rs +2 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/id_lists_adapter/id_list.rs +14 -4
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/id_lists_adapter/id_lists_adapter_trait.rs +31 -2
- statsig_python_core-0.24.0/statsig-rust/src/id_lists_adapter/id_lists_data_store_writer.rs +520 -0
- statsig_python_core-0.24.0/statsig-rust/src/id_lists_adapter/id_lists_snapshot.rs +334 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/id_lists_adapter/mod.rs +4 -0
- statsig_python_core-0.24.0/statsig-rust/src/id_lists_adapter/statsig_data_store_id_lists_adapter.rs +390 -0
- statsig_python_core-0.24.0/statsig-rust/src/id_lists_adapter/statsig_data_store_id_lists_adapter_tests.rs +1786 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/id_lists_adapter/statsig_http_id_lists_adapter.rs +433 -19
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/lib.rs +4 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/persistent_storage/persistent_values_manager.rs +1 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/spec_store.rs +30 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/specs_adapter/statsig_data_store_specs_adapter.rs +206 -56
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/statsig.rs +206 -98
- statsig_python_core-0.24.0/statsig-rust/src/statsig_id_list_recovery_tests.rs +420 -0
- statsig_python_core-0.24.0/statsig-rust/src/statsig_id_list_source_tests.rs +428 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/statsig_metadata.rs +1 -1
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/user/statsig_user_builder.rs +10 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/user/user_data.rs +15 -2
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/cmab_exposure_rule_id_tests.rs +13 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/direct_gcir_tests.rs +70 -47
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/evaluation_details_tests.rs +15 -1
- statsig_python_core-0.24.0/statsig-rust/tests/evaluator_isolation_tests.rs +433 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/fork_safety_tests.rs +215 -2
- statsig_python_core-0.24.0/statsig-rust/tests/gcir_experiment_group_tests.rs +539 -0
- statsig_python_core-0.24.0/statsig-rust/tests/id_list_memberships_tests.rs +261 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/statsig_tests.rs +1 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/statsig_user_builder_tests.rs +15 -1
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/statsig_user_loggable_tests.rs +1 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/statsig_user_tests.rs +1 -0
- statsig_python_core-0.24.0/statsig-rust/tests/tls_distrust_tests.rs +94 -0
- statsig_python_core-0.24.0/statsig-rust/tests/user_json_tests.rs +42 -0
- statsig_python_core-0.24.0/statsig-rust/tests/utils/gcir.rs +67 -0
- statsig_python_core-0.24.0/statsig-rust/tests/utils/gcir_experiment_group_fixtures.rs +304 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/utils/mock_specs_adapter.rs +30 -4
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/utils/mod.rs +6 -0
- statsig_python_core-0.23.3b2610170206/statsig-rust/src/data_store_interface.rs +0 -154
- statsig_python_core-0.23.3b2610170206/statsig-rust/tests/user_json_tests.rs +0 -19
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/py_src/statsig_python_core/__init__.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/py_src/statsig_python_core/data_store.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/py_src/statsig_python_core/error_boundary.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/py_src/statsig_python_core/observability_client.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/py_src/statsig_python_core/output_logger_provider.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/py_src/statsig_python_core/persistent_storage.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/py_src/statsig_python_core/py.typed +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/py_src/statsig_python_core/requirements.txt +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/py_src/statsig_python_core/statsig.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/py_src/statsig_python_core/statsig_python_core.pyi +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/py_src/statsig_python_core/statsig_types.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/pyproject.toml +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-grpc/Cargo.toml +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-grpc/README.md +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-grpc/build.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-grpc/src/protos/statsig_forward_proxy.proto +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-grpc/src/statsig_forward_proxy.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-grpc/src/statsig_grpc_client.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-grpc/src/statsig_grpc_err.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/.github/workflows/CI.yml +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/.gitignore +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/Cargo.toml +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/README.md +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/src/bin/stub_gen.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/src/data_store_base_py.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/src/interned_store_py.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/src/lib.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/src/observability_client_base_py.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/src/output_logger_provider_base_py.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/src/pyo_utils.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/src/raw_evaluation_compat_py.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/src/safe_gil.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/src/statsig_base_py.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/src/statsig_metadata_py.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/src/statsig_options_py.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/src/statsig_persistent_storage_override_adapter_py.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/src/statsig_types_py.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/src/unit_id_py.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/src/valid_primitives_py.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/tests/data/enforce_sticky_dcs.json +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/tests/fork_runner.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/tests/integration/celery_prefork/README.md +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/tests/integration/celery_prefork/celery_app.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/tests/integration/celery_prefork/test_celery_prefork.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/tests/mock_output_logger.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/tests/mock_scrapi.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/tests/profile_util.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/tests/shutdown_sub_proc.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_data_store.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_enforce_sticky_values.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_error_boundary.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_experiment_group_targeting.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_experiment_serialization.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_exposure_logging.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_feature_gate_serialization.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_forking.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_get_autotune_list.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_get_dynamic_config.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_get_experiment_groups.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_get_layer_list.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_initialize_with_details.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_interned_store_preload.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_layer_param_exposure_sampling.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_layer_serialization.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_observability_client.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_output_logger_provider.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_override_adapter.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_performance.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_sdk_event_emitter.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_sec_expo_as_primary.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_shared_statsig.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_shutdown.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_statsig.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_statsig_options.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_statsig_user.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_statsig_user_json_serialization.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_statsig_user_none_fields.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_statsig_user_pickle.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/tests/test_user_exposure_e2e.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-pyo3/tests/utils.py +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/build.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/examples/eval_contention_bench.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/examples/intern_contention_bench.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/resources/ip_supalite.table +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/resources/ua_parser_regex.yaml +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/resources/ua_parser_regex_lite.yaml +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/__tests__/interned_string_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/__tests__/mod.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/compression/compression_helper.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/compression/mod.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/console_capture/console_capture_handler.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/console_capture/console_capture_instances.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/console_capture/console_capture_options.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/console_capture/console_log_line_levels.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/console_capture/mod.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/dcs_str.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/__tests__/dynamic_returnable_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/__tests__/rkyv_value_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/cmab_evaluator.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/comparisons/compare_arrays.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/comparisons/compare_numbers.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/comparisons/compare_str_with_regex.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/comparisons/compare_strings_in_array.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/comparisons/compare_time.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/comparisons/compare_versions.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/comparisons/mod.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/country_lookup.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/dynamic_returnable.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/dynamic_string.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/dynamic_value.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/evaluation_types.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/evaluation_types_initialize_v2.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/evaluation_types_v2.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/evaluator_value.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/get_unit_id.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/mod.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/rkyv_value.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/secondary_exposure_key.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/user_agent_parsing/first_party_ua_parser.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/user_agent_parsing/mod.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/__tests__/mod.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/__tests__/test_helpers.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/__tests__/test_tokenizer.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/__tests__/test_ua_parser_browser.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/__tests__/test_ua_parser_os.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/mod.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/tokenizer.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/ua_parser.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/window_iter.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/user_agent_parsing/third_party_ua_parser.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/evaluation/user_agent_parsing/ua_parser.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/event_emitter/statsig_event_emitter_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/event_logger.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/event_logger_constants.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/event_logger_ops_stats.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/event_queue/batch.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/event_queue/mod.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/event_queue/queue.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/event_queue/queued_config_expo.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/event_queue/queued_event.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/event_queue/queued_experiment_expo.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/event_queue/queued_expo.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/event_queue/queued_gate_expo.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/event_queue/queued_layer_param_expo.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/event_queue/queued_passthrough.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/event_queue/queued_secondary_expo.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/exposure_sampling.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/exposure_utils.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/flush_interval.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/flush_type.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/mod.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/sec_expo_as_primary_experiment.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/statsig_event.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging/statsig_event_internal.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging_adapter/event_logging_adapter_trait.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging_adapter/log_event_payload.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging_adapter/mod.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging_adapter/statsig_http_event_logging_adapter.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/event_logging_adapter/statsig_local_file_event_logging_adapter.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/gcir/dynamic_configs_processor.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/gcir/feature_gates_processor.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/gcir/gcir_formatter.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/gcir/gcir_options.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/gcir/gcir_process_iter.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/gcir/layer_configs_processor.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/gcir/mod.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/gcir/param_stores_processor.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/gcir/stringify_sec_exposures.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/gcir/target_app_id_utils.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/global_configs.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/hashing/ahash.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/hashing/djb2.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/hashing/hash_util.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/hashing/memo_sha_256.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/hashing/mod.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/init_details.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/initialize_evaluations_response.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/initialize_response.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/initialize_v2_response.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/instance_registry.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/interned_string.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/interned_values/__tests__/interned_store_eval_value_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/interned_values/__tests__/interned_store_returnable_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/interned_values/__tests__/interned_store_string_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/interned_values/__tests__/mod.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/interned_values/interned_store.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/interned_values/mod.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/logging_utils.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/macros.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/networking/__tests__/mod.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/networking/__tests__/response_data_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/networking/ca_bundle.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/networking/http_types.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/networking/mod.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/networking/network_client.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/networking/network_error.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/networking/providers/mod.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/networking/providers/net_provider_global.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/networking/providers/net_provider_noop.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/networking/providers/net_provider_reqwest.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/networking/proxy_config.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/observability/console_capture_observer.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/observability/diagnostics_observer.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/observability/mod.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/observability/observability_client_adapter.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/observability/ops_stats.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/observability/sdk_errors_observer.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/output_logger.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/override_adapter/mod.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/override_adapter/override_adapter_trait.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/override_adapter/statsig_local_override_adapter.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/persistent_storage/__tests__/mod.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/persistent_storage/__tests__/sticky_values_serialization_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/persistent_storage/mod.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/persistent_storage/persistent_storage_trait.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/sdk_diagnostics/diagnostics.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/sdk_diagnostics/diagnostics_utils.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/sdk_diagnostics/marker.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/sdk_diagnostics/mod.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/sdk_event_emitter/event_emitter.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/sdk_event_emitter/event_emitter_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/sdk_event_emitter/event_types.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/sdk_event_emitter/mod.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/specs_adapter/config_spec_background_sync_metrics.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/specs_adapter/mod.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/specs_adapter/response_format.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/specs_adapter/specs_adapter_trait.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/specs_adapter/statsig_bootstrap_specs_adapter.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/specs_adapter/statsig_customized_specs_adapter.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/specs_adapter/statsig_grpc_specs_adapter.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/specs_adapter/statsig_http_specs_adapter.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/specs_adapter/statsig_local_file_specs_adapter.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/specs_response/__tests__/mod.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/specs_response/__tests__/proto_specs_syncing_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/specs_response/__tests__/proto_specs_unknown_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/specs_response/__tests__/proto_specs_vs_json_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/specs_response/__tests__/proto_stream_reader_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/specs_response/cmab_types.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/specs_response/explicit_params.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/specs_response/mod.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/specs_response/param_store_types.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/specs_response/proto_specs.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/specs_response/proto_stream_reader.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/specs_response/spec_types.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/specs_response/specs_hash_map.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/specs_response/statsig_config_specs.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/statsig_core_api_options.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/statsig_err.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/statsig_global.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/statsig_options.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/statsig_runtime.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/statsig_type_factories.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/statsig_types.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/statsig_types_raw.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/user/into_optional.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/user/mod.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/user/statsig_user.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/user/statsig_user_internal.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/user/statsig_user_loggable.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/user/unit_id.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/src/utils/mod.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/check_gate_concurrency_bench.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/check_gate_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/customized_specs_adapter_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/data/big_number_dcs.json +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/data/check_gate_perf_dcs.json +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/data/company_id_list +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/data/dcs_cmab_exposure_rule_id.json +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/data/dcs_error.json +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/data/dcs_missing_gates.json +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/data/dcs_non_case_sensitive.json +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/data/dcs_target_app_filtering.json +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/data/dcs_target_app_filtering_hashed_keys.json +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/data/dcs_user_agent_versions.json +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/data/dcs_with_analytical_exposure_sampling.json +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/data/dcs_with_checksum.json +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/data/dcs_with_sampling.json +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/data/dcs_with_sdk_configs.json +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/data/demo_proj_dcs.json +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/data/demo_proj_dcs.pb.br +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/data/eval_proj_dcs.json +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/data/eval_proj_dcs.pb.br +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/data/get_id_lists.json +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/data/perf_proj_dcs.json +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/data/perf_proj_dcs.pb.br +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/data/shared_dict_dict_only.json +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/data/shared_dict_original_dcs.json +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/data/shared_dict_response_uncompressed.json +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/data/shared_dict_response_with_dict.json +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/data/shared_dict_response_without_dict.json +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/data/test_must_pass_user_agents.txt +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/data/test_user_agents.txt +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/data/ua_string_cases.json +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/data/unknown_enum.pb.br +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/data_store_bytes_adapter_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/data_store_json_bytes_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/data_store_json_only_no_bytes_methods_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/data_store_lock_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/data_store_proto_bytes_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/dynamic_string_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/dynamic_value_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/evaluator_value_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/event_logger_failing_flush_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/event_logger_flush_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/event_logger_high_qps_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/event_logger_usage_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/expected_evaluation_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/exposure_sampling_key_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/exposure_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/flushing_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/gate_inversion_eval_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/gcir_group_alias_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/gcir_target_app_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/gcir_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/global_configs_test.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/grpc_specs_adapter_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/hash_util_evaluation_hash_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/http_specs_adapter_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/initialize_timeout_test.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/instance_registry_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/layer_serialization_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/list_methods_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/memory_leak_per_request_users_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/network_client_streaming_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/network_client_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/network_failure_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/network_tls_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/observability_client_usage_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/output_logger_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/override_adapter_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/parameter_store_parameter_names_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/perf_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/persistent_storage_enforce_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/proto_specs_usage_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/spec_store_lock_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/spec_types_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/statsig_disable_network_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/statsig_environment_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/statsig_event_emitter_usage_test.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/statsig_global_fork_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/statsig_global_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/statsig_local_file_event_logging_adapter_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/statsig_local_file_specs_adapter_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/statsig_options_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/statsig_shared_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/statsig_user_field_accessor_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/statsig_user_internal_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/syncing_network_failure_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/typed_getters_tests.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/ua_parser_util_test.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/user_agent_tests_first_party.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/utils/env_var_guard.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/utils/helpers.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/utils/mock_data_store.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/utils/mock_event_logging_adapter.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/utils/mock_log_provider.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/utils/mock_observability_client.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/utils/mock_scrapi.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/utils/mock_specs_listener.rs +0 -0
- {statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/tests/utils/tls_test_server.rs +0 -0
|
@@ -1096,7 +1096,7 @@ dependencies = [
|
|
|
1096
1096
|
"tokio",
|
|
1097
1097
|
"tokio-rustls",
|
|
1098
1098
|
"tower-service",
|
|
1099
|
-
"webpki-roots",
|
|
1099
|
+
"webpki-roots 0.26.11",
|
|
1100
1100
|
]
|
|
1101
1101
|
|
|
1102
1102
|
[[package]]
|
|
@@ -2507,7 +2507,7 @@ dependencies = [
|
|
|
2507
2507
|
"wasm-bindgen",
|
|
2508
2508
|
"wasm-bindgen-futures",
|
|
2509
2509
|
"web-sys",
|
|
2510
|
-
"webpki-roots",
|
|
2510
|
+
"webpki-roots 0.26.11",
|
|
2511
2511
|
"windows-registry",
|
|
2512
2512
|
]
|
|
2513
2513
|
|
|
@@ -2660,18 +2660,19 @@ dependencies = [
|
|
|
2660
2660
|
|
|
2661
2661
|
[[package]]
|
|
2662
2662
|
name = "rustls-pki-types"
|
|
2663
|
-
version = "1.
|
|
2663
|
+
version = "1.15.1"
|
|
2664
2664
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2665
|
-
checksum = "
|
|
2665
|
+
checksum = "2f4925028c7eb5d1fcdaf196971378ed9d2c1c4efc7dc5d011256f76c99c0a96"
|
|
2666
2666
|
dependencies = [
|
|
2667
2667
|
"web-time",
|
|
2668
|
+
"zeroize",
|
|
2668
2669
|
]
|
|
2669
2670
|
|
|
2670
2671
|
[[package]]
|
|
2671
2672
|
name = "rustls-webpki"
|
|
2672
|
-
version = "0.103.
|
|
2673
|
+
version = "0.103.16"
|
|
2673
2674
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2674
|
-
checksum = "
|
|
2675
|
+
checksum = "4443b1b6d39d7c663139942cc4558262562d2c84123bb6282ef177009ca8b281"
|
|
2675
2676
|
dependencies = [
|
|
2676
2677
|
"ring",
|
|
2677
2678
|
"rustls-pki-types",
|
|
@@ -2987,7 +2988,7 @@ dependencies = [
|
|
|
2987
2988
|
|
|
2988
2989
|
[[package]]
|
|
2989
2990
|
name = "sigstat-grpc"
|
|
2990
|
-
version = "0.
|
|
2991
|
+
version = "0.24.0"
|
|
2991
2992
|
dependencies = [
|
|
2992
2993
|
"async-trait",
|
|
2993
2994
|
"chrono",
|
|
@@ -3079,7 +3080,7 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
|
|
|
3079
3080
|
|
|
3080
3081
|
[[package]]
|
|
3081
3082
|
name = "statsig-node"
|
|
3082
|
-
version = "0.
|
|
3083
|
+
version = "0.24.0"
|
|
3083
3084
|
dependencies = [
|
|
3084
3085
|
"async-trait",
|
|
3085
3086
|
"napi",
|
|
@@ -3094,7 +3095,7 @@ dependencies = [
|
|
|
3094
3095
|
|
|
3095
3096
|
[[package]]
|
|
3096
3097
|
name = "statsig-pyo3"
|
|
3097
|
-
version = "0.
|
|
3098
|
+
version = "0.24.0"
|
|
3098
3099
|
dependencies = [
|
|
3099
3100
|
"async-trait",
|
|
3100
3101
|
"lazy_static",
|
|
@@ -3109,7 +3110,7 @@ dependencies = [
|
|
|
3109
3110
|
|
|
3110
3111
|
[[package]]
|
|
3111
3112
|
name = "statsig-rust"
|
|
3112
|
-
version = "0.
|
|
3113
|
+
version = "0.24.0"
|
|
3113
3114
|
dependencies = [
|
|
3114
3115
|
"ahash",
|
|
3115
3116
|
"arc-swap",
|
|
@@ -3163,7 +3164,7 @@ dependencies = [
|
|
|
3163
3164
|
|
|
3164
3165
|
[[package]]
|
|
3165
3166
|
name = "statsig_elixir"
|
|
3166
|
-
version = "0.
|
|
3167
|
+
version = "0.24.0"
|
|
3167
3168
|
dependencies = [
|
|
3168
3169
|
"async-trait",
|
|
3169
3170
|
"parking_lot",
|
|
@@ -3176,7 +3177,7 @@ dependencies = [
|
|
|
3176
3177
|
|
|
3177
3178
|
[[package]]
|
|
3178
3179
|
name = "statsig_ffi"
|
|
3179
|
-
version = "0.
|
|
3180
|
+
version = "0.24.0"
|
|
3180
3181
|
dependencies = [
|
|
3181
3182
|
"async-trait",
|
|
3182
3183
|
"cbindgen",
|
|
@@ -3999,9 +4000,18 @@ dependencies = [
|
|
|
3999
4000
|
|
|
4000
4001
|
[[package]]
|
|
4001
4002
|
name = "webpki-roots"
|
|
4002
|
-
version = "0.26.
|
|
4003
|
+
version = "0.26.11"
|
|
4004
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4005
|
+
checksum = "521bc38abb08001b01866da9f51eb7c5d647a19260e00054a8c7fd5f9e57f7a9"
|
|
4006
|
+
dependencies = [
|
|
4007
|
+
"webpki-roots 1.0.11",
|
|
4008
|
+
]
|
|
4009
|
+
|
|
4010
|
+
[[package]]
|
|
4011
|
+
name = "webpki-roots"
|
|
4012
|
+
version = "1.0.11"
|
|
4003
4013
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4004
|
-
checksum = "
|
|
4014
|
+
checksum = "f5f280bbb2b287bc8e7de7e3852945a0ff50d1bbcb5ed42b6c7a568c546df171"
|
|
4005
4015
|
dependencies = [
|
|
4006
4016
|
"rustls-pki-types",
|
|
4007
4017
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: statsig_python_core
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.24.0
|
|
4
4
|
Classifier: Programming Language :: Rust
|
|
5
5
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
6
6
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
@@ -88,6 +88,7 @@ impl StatsigUserPy {
|
|
|
88
88
|
custom_ids: opt_py_dict_ref_to_hashmap(custom_ids),
|
|
89
89
|
private_attributes: opt_py_dict_ref_to_hashmap(private_attributes),
|
|
90
90
|
statsig_environment: opt_py_dict_ref_to_hashmap(statsig_environment),
|
|
91
|
+
id_list_memberships: None,
|
|
91
92
|
};
|
|
92
93
|
|
|
93
94
|
let user = StatsigUser::new(user_data);
|
{statsig_python_core-0.23.3b2610170206 → statsig_python_core-0.24.0}/statsig-rust/Cargo.toml
RENAMED
|
@@ -44,7 +44,7 @@ serde_json = { version = "1.0.143", features = [
|
|
|
44
44
|
] }
|
|
45
45
|
serde_with = "3.4.0"
|
|
46
46
|
sha2 = "0.10.8"
|
|
47
|
-
sigstat-grpc = { path = "../statsig-grpc", version = "0.
|
|
47
|
+
sigstat-grpc = { path = "../statsig-grpc", version = "0.24.0", optional = true }
|
|
48
48
|
simple_logger = { version = "5.0.0" }
|
|
49
49
|
tempfile = "3.8.1"
|
|
50
50
|
tokio = { version = "1.39.1", features = ["full"] }
|
|
@@ -72,7 +72,7 @@ wiremock = "0.6.2"
|
|
|
72
72
|
more-asserts = "0.3.1"
|
|
73
73
|
libc = "0.2"
|
|
74
74
|
serial_test = "3.2.0"
|
|
75
|
-
rusty-fork = "0.3.0"
|
|
75
|
+
rusty-fork = { version = "0.3.0", features = ["timeout"] }
|
|
76
76
|
rcgen = "0.13"
|
|
77
77
|
rustls = { version = "0.23", default-features = false, features = ["ring", "std", "logging", "tls12"] }
|
|
78
78
|
|
|
@@ -6,11 +6,52 @@ use parking_lot::Mutex;
|
|
|
6
6
|
|
|
7
7
|
use crate::{
|
|
8
8
|
data_store_interface::{DataStoreResponse, DataStoreTrait, RequestPath},
|
|
9
|
+
id_lists_adapter::{id_lists_snapshot::IdListsSnapshot, IdListsUpdateListener},
|
|
9
10
|
networking::ResponseData,
|
|
10
11
|
sdk_event_emitter::SdkEventEmitter,
|
|
11
12
|
SpecStore, SpecsSource, SpecsUpdate, StatsigErr, StatsigOptions, StatsigRuntime,
|
|
12
13
|
};
|
|
13
14
|
|
|
15
|
+
#[test]
|
|
16
|
+
fn test_complete_id_list_snapshot_atomically_replaces_lists_and_members() {
|
|
17
|
+
let spec_store = SpecStore::new(
|
|
18
|
+
"test",
|
|
19
|
+
"test".to_string(),
|
|
20
|
+
StatsigRuntime::get_runtime(),
|
|
21
|
+
Arc::new(SdkEventEmitter::default()),
|
|
22
|
+
None,
|
|
23
|
+
);
|
|
24
|
+
|
|
25
|
+
let initial = IdListsSnapshot::parse(
|
|
26
|
+
r#"["kept","stale"]"#,
|
|
27
|
+
&HashMap::from([
|
|
28
|
+
("kept".to_string(), "+2Tv4fIVX\n+34jaY4Sb".to_string()),
|
|
29
|
+
("stale".to_string(), "+0K9jH6PG".to_string()),
|
|
30
|
+
]),
|
|
31
|
+
)
|
|
32
|
+
.unwrap();
|
|
33
|
+
spec_store.replace_id_lists_snapshot(initial.lists).unwrap();
|
|
34
|
+
|
|
35
|
+
let replacement = IdListsSnapshot::parse(
|
|
36
|
+
r#"["kept","new"]"#,
|
|
37
|
+
&HashMap::from([
|
|
38
|
+
("kept".to_string(), "+34jaY4Sb".to_string()),
|
|
39
|
+
("new".to_string(), "+oFMo1RZH".to_string()),
|
|
40
|
+
]),
|
|
41
|
+
)
|
|
42
|
+
.unwrap();
|
|
43
|
+
spec_store
|
|
44
|
+
.replace_id_lists_snapshot(replacement.lists)
|
|
45
|
+
.unwrap();
|
|
46
|
+
|
|
47
|
+
let data = spec_store.data.read();
|
|
48
|
+
assert_eq!(data.id_lists.len(), 2);
|
|
49
|
+
assert!(!data.id_lists.contains_key("stale"));
|
|
50
|
+
assert!(!data.id_lists["kept"].ids.contains("2Tv4fIVX"));
|
|
51
|
+
assert!(data.id_lists["kept"].ids.contains("34jaY4Sb"));
|
|
52
|
+
assert!(data.id_lists["new"].ids.contains("oFMo1RZH"));
|
|
53
|
+
}
|
|
54
|
+
|
|
14
55
|
struct TestDataStore {
|
|
15
56
|
get_response: Mutex<Option<DataStoreResponse>>,
|
|
16
57
|
supports_polling: bool,
|
|
@@ -0,0 +1,335 @@
|
|
|
1
|
+
use std::fmt::Display;
|
|
2
|
+
|
|
3
|
+
use async_trait::async_trait;
|
|
4
|
+
use serde::{Deserialize, Serialize};
|
|
5
|
+
|
|
6
|
+
use crate::{hashing::HashUtil, StatsigErr, StatsigOptions};
|
|
7
|
+
|
|
8
|
+
pub enum RequestPath {
|
|
9
|
+
RulesetsV2,
|
|
10
|
+
RulesetsV1,
|
|
11
|
+
IDListsV1,
|
|
12
|
+
IDList,
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/// Logical DataStore schemas, not the HTTP paths or individual cache keys.
|
|
16
|
+
/// `IDListSnapshot` includes the manifest and every named child list.
|
|
17
|
+
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
|
|
18
|
+
pub enum DataStoreFeature {
|
|
19
|
+
ConfigSpecs,
|
|
20
|
+
IDListSnapshot,
|
|
21
|
+
IDListSnapshotWrite,
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
impl Display for DataStoreFeature {
|
|
25
|
+
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
|
26
|
+
let value = match self {
|
|
27
|
+
Self::ConfigSpecs => "config_specs",
|
|
28
|
+
Self::IDListSnapshot => "id_list_snapshot",
|
|
29
|
+
Self::IDListSnapshotWrite => "id_list_snapshot_write",
|
|
30
|
+
};
|
|
31
|
+
write!(f, "{value}")
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
impl Display for RequestPath {
|
|
36
|
+
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
|
37
|
+
let value = match self {
|
|
38
|
+
RequestPath::IDListsV1 => "/v1/get_id_lists",
|
|
39
|
+
RequestPath::IDList => "id_list",
|
|
40
|
+
RequestPath::RulesetsV2 => "/v2/download_config_specs",
|
|
41
|
+
RequestPath::RulesetsV1 => "/v1/download_config_specs",
|
|
42
|
+
};
|
|
43
|
+
write!(f, "{value}")
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
pub enum CompressFormat {
|
|
48
|
+
PlainText,
|
|
49
|
+
Gzip,
|
|
50
|
+
StatsigBr,
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
impl Display for CompressFormat {
|
|
54
|
+
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
|
55
|
+
let value = match self {
|
|
56
|
+
CompressFormat::PlainText => "plain_text",
|
|
57
|
+
CompressFormat::Gzip => "gzip",
|
|
58
|
+
CompressFormat::StatsigBr => "statsig-br",
|
|
59
|
+
};
|
|
60
|
+
write!(f, "{value}")
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
#[derive(Deserialize, Serialize)]
|
|
65
|
+
pub struct DataStoreResponse {
|
|
66
|
+
pub result: Option<String>,
|
|
67
|
+
pub time: Option<u64>,
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
#[derive(Deserialize, Serialize)]
|
|
71
|
+
pub struct DataStoreBytesResponse {
|
|
72
|
+
pub result: Option<Vec<u8>>,
|
|
73
|
+
pub time: Option<u64>,
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
#[derive(Clone, Debug)]
|
|
77
|
+
pub(crate) struct DataStoreCacheKeys {
|
|
78
|
+
pub plain_text: String,
|
|
79
|
+
pub statsig_br: String,
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
impl DataStoreCacheKeys {
|
|
83
|
+
pub(crate) fn from_selected_key(key: &str) -> Self {
|
|
84
|
+
Self {
|
|
85
|
+
plain_text: data_store_key_with_compress_format(key, CompressFormat::PlainText),
|
|
86
|
+
statsig_br: data_store_key_with_compress_format(key, CompressFormat::StatsigBr),
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
#[allow(
|
|
92
|
+
clippy::double_must_use,
|
|
93
|
+
reason = "async_trait adds must_use to methods returning an already-must-use boxed Future"
|
|
94
|
+
)]
|
|
95
|
+
#[async_trait]
|
|
96
|
+
pub trait DataStoreTrait: Send + Sync {
|
|
97
|
+
async fn initialize(&self) -> Result<(), StatsigErr>;
|
|
98
|
+
async fn shutdown(&self) -> Result<(), StatsigErr>;
|
|
99
|
+
async fn get(&self, key: &str) -> Result<DataStoreResponse, StatsigErr>;
|
|
100
|
+
async fn set(&self, key: &str, value: &str, time: Option<u64>) -> Result<(), StatsigErr>;
|
|
101
|
+
async fn set_bytes(
|
|
102
|
+
&self,
|
|
103
|
+
key: &str,
|
|
104
|
+
value: &[u8],
|
|
105
|
+
time: Option<u64>,
|
|
106
|
+
) -> Result<(), StatsigErr> {
|
|
107
|
+
let _ = (key, value, time);
|
|
108
|
+
Err(StatsigErr::BytesNotImplemented)
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
async fn get_bytes(&self, key: &str) -> Result<DataStoreBytesResponse, StatsigErr> {
|
|
112
|
+
let _ = key;
|
|
113
|
+
Err(StatsigErr::BytesNotImplemented)
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
async fn support_polling_updates_for(&self, path: RequestPath) -> bool;
|
|
117
|
+
|
|
118
|
+
/// Existing adapters support config specs but must explicitly opt in to
|
|
119
|
+
/// the complete ID-list snapshot key schema before the SDK reads any ID-list
|
|
120
|
+
/// keys. HTTP snapshot write-back additionally requires IDListSnapshotWrite.
|
|
121
|
+
async fn supports_feature(&self, feature: DataStoreFeature) -> bool {
|
|
122
|
+
matches!(feature, DataStoreFeature::ConfigSpecs)
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/// `None` means the adapter has no ID-list polling preference. An opted-in
|
|
126
|
+
/// snapshot then polls the DataStore by default; `Some(false)` explicitly
|
|
127
|
+
/// assigns scheduled refreshes to HTTP while startup still tries the cache.
|
|
128
|
+
async fn support_polling_updates_for_feature(
|
|
129
|
+
&self,
|
|
130
|
+
_feature: DataStoreFeature,
|
|
131
|
+
) -> Option<bool> {
|
|
132
|
+
None
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
#[derive(Clone, Debug, Default)]
|
|
137
|
+
pub enum DataStoreKeyVersion {
|
|
138
|
+
#[default]
|
|
139
|
+
V2Hashed,
|
|
140
|
+
V3HumanReadable,
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
impl From<&str> for DataStoreKeyVersion {
|
|
144
|
+
fn from(level: &str) -> Self {
|
|
145
|
+
match level.to_lowercase().as_str() {
|
|
146
|
+
"v2" | "2" => DataStoreKeyVersion::V2Hashed,
|
|
147
|
+
"v3" | "3" => DataStoreKeyVersion::V3HumanReadable,
|
|
148
|
+
_ => DataStoreKeyVersion::default(),
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
#[must_use]
|
|
154
|
+
pub(crate) fn get_data_store_key(
|
|
155
|
+
path: RequestPath,
|
|
156
|
+
sdk_key: &str,
|
|
157
|
+
hashing: &HashUtil,
|
|
158
|
+
options: &StatsigOptions,
|
|
159
|
+
) -> String {
|
|
160
|
+
get_data_store_key_for_path(&path.to_string(), sdk_key, hashing, options)
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
fn get_data_store_key_for_path(
|
|
164
|
+
path: &str,
|
|
165
|
+
sdk_key: &str,
|
|
166
|
+
hashing: &HashUtil,
|
|
167
|
+
options: &StatsigOptions,
|
|
168
|
+
) -> String {
|
|
169
|
+
let key = match options
|
|
170
|
+
.data_store_key_schema_version
|
|
171
|
+
.clone()
|
|
172
|
+
.unwrap_or_default()
|
|
173
|
+
{
|
|
174
|
+
DataStoreKeyVersion::V3HumanReadable => {
|
|
175
|
+
let mut key = sdk_key.to_string();
|
|
176
|
+
key.truncate(20);
|
|
177
|
+
key
|
|
178
|
+
}
|
|
179
|
+
DataStoreKeyVersion::V2Hashed => hashing.hash(sdk_key, &crate::HashAlgorithm::Sha256),
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
format!("statsig|{path}|{}|{key}", CompressFormat::PlainText)
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
#[must_use]
|
|
186
|
+
pub(crate) fn get_id_lists_manifest_data_store_key(
|
|
187
|
+
sdk_key: &str,
|
|
188
|
+
hashing: &HashUtil,
|
|
189
|
+
options: &StatsigOptions,
|
|
190
|
+
) -> String {
|
|
191
|
+
get_data_store_key(RequestPath::IDListsV1, sdk_key, hashing, options)
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
/// Builds the key used by Legacy Node for a complete cached ID-list snapshot.
|
|
195
|
+
///
|
|
196
|
+
/// The list name is part of the path (`id_list::<name>`), rather than a suffix
|
|
197
|
+
/// on the fully formatted cache key. This distinction is observable for both
|
|
198
|
+
/// the V2 hashed and V3 human-readable key schemas.
|
|
199
|
+
#[must_use]
|
|
200
|
+
pub(crate) fn get_id_list_data_store_key(
|
|
201
|
+
list_name: &str,
|
|
202
|
+
sdk_key: &str,
|
|
203
|
+
hashing: &HashUtil,
|
|
204
|
+
options: &StatsigOptions,
|
|
205
|
+
) -> String {
|
|
206
|
+
get_data_store_key_for_path(
|
|
207
|
+
&format!("{}::{list_name}", RequestPath::IDList),
|
|
208
|
+
sdk_key,
|
|
209
|
+
hashing,
|
|
210
|
+
options,
|
|
211
|
+
)
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
fn data_store_key_with_compress_format(key: &str, compress_format: CompressFormat) -> String {
|
|
215
|
+
let target = format!("|{compress_format}|");
|
|
216
|
+
|
|
217
|
+
[
|
|
218
|
+
CompressFormat::PlainText,
|
|
219
|
+
CompressFormat::Gzip,
|
|
220
|
+
CompressFormat::StatsigBr,
|
|
221
|
+
]
|
|
222
|
+
.into_iter()
|
|
223
|
+
.map(|format| format!("|{format}|"))
|
|
224
|
+
.find_map(|current| {
|
|
225
|
+
key.contains(¤t)
|
|
226
|
+
.then(|| key.replacen(¤t, &target, 1))
|
|
227
|
+
})
|
|
228
|
+
.unwrap_or_else(|| key.to_string())
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
#[cfg(test)]
|
|
232
|
+
mod tests {
|
|
233
|
+
use super::*;
|
|
234
|
+
|
|
235
|
+
struct LegacyConfigSpecsDataStore;
|
|
236
|
+
|
|
237
|
+
#[async_trait]
|
|
238
|
+
impl DataStoreTrait for LegacyConfigSpecsDataStore {
|
|
239
|
+
async fn initialize(&self) -> Result<(), StatsigErr> {
|
|
240
|
+
Ok(())
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
async fn shutdown(&self) -> Result<(), StatsigErr> {
|
|
244
|
+
Ok(())
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
async fn get(&self, _key: &str) -> Result<DataStoreResponse, StatsigErr> {
|
|
248
|
+
Ok(DataStoreResponse {
|
|
249
|
+
result: None,
|
|
250
|
+
time: None,
|
|
251
|
+
})
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
async fn set(
|
|
255
|
+
&self,
|
|
256
|
+
_key: &str,
|
|
257
|
+
_value: &str,
|
|
258
|
+
_time: Option<u64>,
|
|
259
|
+
) -> Result<(), StatsigErr> {
|
|
260
|
+
Ok(())
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
async fn support_polling_updates_for(&self, _path: RequestPath) -> bool {
|
|
264
|
+
false
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
#[tokio::test]
|
|
269
|
+
async fn old_data_store_defaults_to_config_specs_only() {
|
|
270
|
+
let store = LegacyConfigSpecsDataStore;
|
|
271
|
+
assert!(store.supports_feature(DataStoreFeature::ConfigSpecs).await);
|
|
272
|
+
assert!(
|
|
273
|
+
!store
|
|
274
|
+
.supports_feature(DataStoreFeature::IDListSnapshot)
|
|
275
|
+
.await
|
|
276
|
+
);
|
|
277
|
+
assert!(
|
|
278
|
+
!store
|
|
279
|
+
.supports_feature(DataStoreFeature::IDListSnapshotWrite)
|
|
280
|
+
.await
|
|
281
|
+
);
|
|
282
|
+
assert_eq!(
|
|
283
|
+
store
|
|
284
|
+
.support_polling_updates_for_feature(DataStoreFeature::IDListSnapshot)
|
|
285
|
+
.await,
|
|
286
|
+
None
|
|
287
|
+
);
|
|
288
|
+
assert_eq!(DataStoreFeature::ConfigSpecs.to_string(), "config_specs");
|
|
289
|
+
assert_eq!(
|
|
290
|
+
DataStoreFeature::IDListSnapshot.to_string(),
|
|
291
|
+
"id_list_snapshot"
|
|
292
|
+
);
|
|
293
|
+
assert_eq!(
|
|
294
|
+
DataStoreFeature::IDListSnapshotWrite.to_string(),
|
|
295
|
+
"id_list_snapshot_write"
|
|
296
|
+
);
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
#[test]
|
|
300
|
+
fn id_list_keys_match_legacy_v2_contract() {
|
|
301
|
+
let hashing = HashUtil::new();
|
|
302
|
+
let options = StatsigOptions::default();
|
|
303
|
+
let sdk_key = "secret-key";
|
|
304
|
+
let legacy_hash = "hdvhXXXvkwjHrg8zx6MkzG9L9Rmi7S8wJ70zwUCk+ao=";
|
|
305
|
+
|
|
306
|
+
assert_eq!(
|
|
307
|
+
get_id_lists_manifest_data_store_key(sdk_key, &hashing, &options),
|
|
308
|
+
format!("statsig|/v1/get_id_lists|plain_text|{legacy_hash}")
|
|
309
|
+
);
|
|
310
|
+
assert_eq!(
|
|
311
|
+
get_id_list_data_store_key("paid-users", sdk_key, &hashing, &options),
|
|
312
|
+
format!("statsig|id_list::paid-users|plain_text|{legacy_hash}")
|
|
313
|
+
);
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
#[test]
|
|
317
|
+
fn id_list_keys_follow_existing_v3_schema() {
|
|
318
|
+
let hashing = HashUtil::new();
|
|
319
|
+
let options = StatsigOptions {
|
|
320
|
+
data_store_key_schema_version: Some(DataStoreKeyVersion::V3HumanReadable),
|
|
321
|
+
..StatsigOptions::default()
|
|
322
|
+
};
|
|
323
|
+
let sdk_key = "secret-key-with-more-than-twenty-characters";
|
|
324
|
+
let expected_key_component = "secret-key-with-more";
|
|
325
|
+
|
|
326
|
+
assert_eq!(
|
|
327
|
+
get_id_lists_manifest_data_store_key(sdk_key, &hashing, &options),
|
|
328
|
+
format!("statsig|/v1/get_id_lists|plain_text|{expected_key_component}")
|
|
329
|
+
);
|
|
330
|
+
assert_eq!(
|
|
331
|
+
get_id_list_data_store_key("paid-users", sdk_key, &hashing, &options),
|
|
332
|
+
format!("statsig|id_list::paid-users|plain_text|{expected_key_component}")
|
|
333
|
+
);
|
|
334
|
+
}
|
|
335
|
+
}
|