#cache #interact #api #http-request #scenario #check #statsig

bin+lib statsig-rs

Unofficial crate to interact with statsig.io

13 unstable releases

0.7.3 Apr 4, 2024
0.7.1 Jan 26, 2024
0.7.0 Sep 26, 2023
0.6.1 Jun 23, 2023
0.5.0 Nov 17, 2022

#9 in #scenario

Download history 2/week @ 2023-12-22 291/week @ 2023-12-29 358/week @ 2024-01-05 317/week @ 2024-01-12 212/week @ 2024-01-19 412/week @ 2024-01-26 102/week @ 2024-02-02 69/week @ 2024-02-09 187/week @ 2024-02-16 210/week @ 2024-02-23 342/week @ 2024-03-01 343/week @ 2024-03-08 356/week @ 2024-03-15 524/week @ 2024-03-22 777/week @ 2024-03-29 574/week @ 2024-04-05

2,290 downloads per month

ISC license

93KB
2.5K SLoC

Statsig client

github crates.io docs.rs

Unofficial lib to interact with statsig.io. It's still an early WIP version, but is already capable of handling some checks with cache and delegate other scenarios to an HTTP request to the API.

Implements the logic described for their Server SDKs.


lib.rs:

Implements the statsig client

To change the default request timeout set the STATSIG_TIMEOUT_MS environment variable to the desired timeout value.

Reference: https://docs.statsig.com/http-api

Dependencies

~9–24MB
~346K SLoC