Cargo Features

[dependencies]
variable-len-reader = { version = "3.2.0", default-features = false, features = ["std", "alloc", "full", "zigzag", "tokio", "bytes", "sync", "sync_full", "sync_default", "sync_bools", "sync_raw", "sync_raw_size", "sync_varint", "sync_varint_size", "sync_varint_long", "sync_varint_long_size", "sync_signed_varint", "sync_signed_varint_size", "sync_signed_varint_long", "sync_signed_varint_long_size", "sync_float_varint", "sync_float_varint_long", "sync_u8_vec", "sync_string", "async", "async_full", "async_default", "async_bools", "async_raw", "async_raw_size", "async_varint", "async_varint_size", "async_varint_long", "async_varint_long_size", "async_signed_varint", "async_signed_varint_size", "async_signed_varint_long", "async_signed_varint_long_size", "async_float_varint", "async_float_varint_long", "async_u8_vec", "async_string", "comp-full", "std-comp", "tokio-comp"] }
default = std-comp, sync_default

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

std std-comp = alloc

Enables std of optional bytes

alloc async_string? async_u8_vec? std? std-comp sync_string? sync_u8_vec? tokio-comp?
full = async_full, comp-full, sync_full
zigzag async_signed_varint? async_signed_varint_long? async_signed_varint_long_size? async_signed_varint_size? sync_signed_varint? sync_signed_varint_long? sync_signed_varint_long_size? sync_signed_varint_size?

Affects util::zigzag

tokio tokio-comp?

Enables tokio

bytes

Enables bytes

Affects asynchronous::AsyncVariableReadable.poll_read_more_buf, asynchronous::AsyncVariableWritable.poll_write_more_buf, reader::AsyncVariableReader.read_more_buf, writer::AsyncVariableWriter.write_more_buf, synchronous::VariableReadable.read_more_buf, synchronous::VariableWritable.write_more_buf

sync std-comp sync_bools? sync_raw?

Affects variable-len-reader::synchronous, impls::std

sync_full full? = sync_bools, sync_float_varint, sync_float_varint_long, sync_raw, sync_raw_size, sync_signed_varint, sync_signed_varint_long, sync_signed_varint_long_size, sync_signed_varint_size, sync_string, sync_u8_vec, sync_varint, sync_varint_long, sync_varint_long_size, sync_varint_size
sync_default default = sync_string, sync_varint
sync_bools sync_full? = sync
sync_raw sync_full? sync_raw_size? sync_varint? sync_varint_long? sync_varint_long_size? sync_varint_size? = sync
sync_raw_size sync_full? = sync_raw
sync_varint sync_default sync_float_varint? sync_full? sync_signed_varint? sync_signed_varint_long? sync_signed_varint_long_size? sync_signed_varint_size? sync_varint_long? sync_varint_long_size? sync_varint_size? = sync_raw
sync_varint_size sync_full? sync_signed_varint_size? sync_u8_vec? = sync_raw, sync_varint
sync_varint_long sync_float_varint_long? sync_full? sync_signed_varint_long? sync_varint_long_size? = sync_raw, sync_varint
sync_varint_long_size sync_full? sync_signed_varint_long_size? = sync_raw, sync_varint, sync_varint_long
sync_signed_varint sync_full? sync_signed_varint_size? = sync_varint, zigzag
sync_signed_varint_size sync_full? = sync_signed_varint, sync_varint, sync_varint_size, zigzag
sync_signed_varint_long sync_full? sync_signed_varint_long_size? = sync_varint, sync_varint_long, zigzag
sync_signed_varint_long_size sync_full? = sync_signed_varint_long, sync_varint, sync_varint_long_size, zigzag
sync_float_varint sync_full? = sync_varint
sync_float_varint_long sync_full? = sync_varint_long
sync_u8_vec sync_full? sync_string? = alloc, sync_varint_size

Affects reader::VariableReader.read_u8_vec, writer::VariableWriter.write_u8_vec

sync_string sync_default sync_full? = alloc, sync_u8_vec

Affects reader::VariableReader.read_string_error, reader::VariableReader.read_string, writer::VariableWriter.write_string

async async_bools? async_raw? tokio-comp?

Enables pin-project-lite

Affects variable-len-reader::asynchronous, impls::tokio

async_full full? = async_bools, async_float_varint, async_float_varint_long, async_raw, async_raw_size, async_signed_varint, async_signed_varint_long, async_signed_varint_long_size, async_signed_varint_size, async_string, async_u8_vec, async_varint, async_varint_long, async_varint_long_size, async_varint_size
async_default = async_string, async_varint
async_bools async_full? = async
async_raw async_full? async_raw_size? async_varint? async_varint_long? async_varint_long_size? async_varint_size? = async
async_raw_size async_full? = async_raw
async_varint async_default? async_float_varint? async_full? async_signed_varint? async_signed_varint_long? async_signed_varint_long_size? async_signed_varint_size? async_varint_long? async_varint_long_size? async_varint_size? = async_raw
async_varint_size async_full? async_signed_varint_size? async_u8_vec? = async_raw, async_varint
async_varint_long async_float_varint_long? async_full? async_signed_varint_long? async_varint_long_size? = async_raw, async_varint
async_varint_long_size async_full? async_signed_varint_long_size? = async_raw, async_varint, async_varint_long
async_signed_varint async_full? async_signed_varint_size? = async_varint, zigzag
async_signed_varint_size async_full? = async_signed_varint, async_varint, async_varint_size, zigzag
async_signed_varint_long async_full? async_signed_varint_long_size? = async_varint, async_varint_long, zigzag
async_signed_varint_long_size async_full? = async_signed_varint_long, async_varint, async_varint_long_size, zigzag
async_float_varint async_full? = async_varint
async_float_varint_long async_full? = async_varint_long
async_u8_vec async_full? async_string? = alloc, async_varint_size

Affects reader::AsyncVariableReader.read_u8_vec, reader::AsyncVariableReader.read_u8_vec_boxed, writer::AsyncVariableWriter.write_u8_vec, writer::AsyncVariableWriter.write_u8_vec_boxed

async_string async_default? async_full? = alloc, async_u8_vec

Affects asynchronous::helper, reader::AsyncVariableReader.read_string_error, reader::AsyncVariableReader.read_string, reader::AsyncVariableReader.read_string_boxed, writer::AsyncVariableWriter.write_string, writer::AsyncVariableWriter.write_string_boxed

comp-full full? = std-comp, tokio-comp
std-comp default comp-full? = alloc, std, sync

Affects impls::std

tokio-comp comp-full? = alloc, async, tokio

Affects impls::tokio