Cargo Features

bytes-expand has no features set by default.

[dependencies]
bytes-expand = { version = "0.4.12", features = ["i128", "either", "serde"] }
i128

Enables i128 of byteorder

byteorder:

This feature is no longer used and is DEPRECATED. This crate now automatically enables i128 support for Rust compilers that support it. The feature will be removed if and when a new major version is released.

Affects buf::Buf.get_u128_be, buf::Buf.get_u128_le, buf::Buf.get_i128_be, buf::Buf.get_i128_le, buf_mut::BufMut.put_u128_be, buf_mut::BufMut.put_u128_le, buf_mut::BufMut.put_i128_be, buf_mut::BufMut.put_i128_le

Features from optional dependencies

either implicit feature

Enables either

either:

The enum Either with variants Left and Right is a general purpose sum type with two cases

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

Affects bytes-expand::serde