Cargo Features
[dependencies]
statsig-rust = { version = "0.2.0", default-features = false, features = ["custom_network_provider", "with_grpc", "with_zstd", "testing", "reqwest"] }
- default = reqwest
-
The
reqwest
feature is set by default wheneverstatsig-rust
is added without
somewhere in the dependency tree.default-features = false - custom_network_provider
-
Affects
providers::get_network_provider
… - with_grpc = sigstat-grpc
- with_zstd
-
Affects
compression_helper::get_compression_format
,compression_helper::compress_data
… - testing
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- reqwest default
- sigstat-grpc with_grpc?