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
somewhere in the dependency tree.default-features = false - 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
-
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.