Cargo Features

[dependencies]
vkclient = { version = "5.1.2", default-features = false, features = ["longpoll_stream", "longpoll", "compression_zstd", "compression_gzip", "encode_json", "encode_msgpack", "uploader"] }
default = compression_gzip, compression_zstd, encode_json, encode_msgpack, longpoll, longpoll_stream, uploader

These default features are set whenever vkclient is added without default-features = false somewhere in the dependency tree.

longpoll_stream default = async-stream, futures-util
longpoll default

Affects vkclient::longpoll

compression_zstd default = zstd
compression_gzip default = flate2
encode_json default = serde_json
encode_msgpack default = rmp-serde
uploader default

Enables multipart of reqwest

Affects vkclient::upload

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.

async-stream longpoll_stream
flate2 compression_gzip
futures-util longpoll_stream
rmp-serde encode_msgpack
serde_json encode_json
zstd compression_zstd