Cargo Features

push_decode has no features set by default.

[dependencies]
push_decode = { version = "0.4.3", features = ["std", "alloc", "async-std", "futures_0_3", "tokio", "lgio"] }
std async-std? futures_0_3? tokio? = alloc

Enables use_std of either

Affects push_decode::Encoder.write_all_sync, push_decode::AssumeBuffered, push_decode::decode_sync_with, push_decode::decode_sync, push_decode::ReadError, push_decode::BufWrite

alloc std?

Affects push_decode::Encoder.write_to_vec

async-std = actual-async-std, pin-project-lite, std

Affects push_decode::Encoder.write_all_async_std, push_decode::decode_async_std_with, push_decode::decode_async_std, push_decode::future, push_decode::BufWrite

futures_0_3 = futures_io_0_3, pin-project-lite, std

Affects push_decode::Encoder.write_all_futures_0_3, push_decode::decode_futures_0_3_with, push_decode::decode_futures_0_3, push_decode::future, push_decode::BufWrite

tokio = actual-tokio, pin-project-lite, std

Affects push_decode::Encoder.write_all_tokio, push_decode::decode_tokio_with, push_decode::decode_tokio, push_decode::future, push_decode::BufWrite

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

actual-async-std async-std?

Enables async-std

actual-tokio tokio?

Enables tokio

futures_io_0_3 futures_0_3?

Enables futures-io

pin-project-lite async-std? futures_0_3? tokio?
lgio implicit feature

Enables lgio

lgio:

Lightweight, generic, no_std IO

Affects push_decode::Encoder.write_all_sync_lgio, push_decode::decode_sync_lgio_with, push_decode::decode_sync_lgio