Cargo Features

[dependencies]
transformable = { version = "0.1.9", default-features = false, features = ["std", "alloc", "async", "bytes", "smol_str", "smallvec"] }
default = std

The std feature is set by default whenever transformable is added without default-features = false somewhere in the dependency tree.

std default async? = alloc

Enables byteorder

Affects transformable::Transformable, transformable::Encodable, transformable::Decodable

alloc std

Affects transformable::Transformable.encode_to_vec, transformable::Encodable.encode_to_vec

async = futures-util, std

Affects transformable::Transformable.encode_to_async_writer, transformable::Transformable.decode_from_async_reader, transformable::Encodable.encode_to_async_writer, transformable::Decodable.decode_from_async_reader

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.

futures-util async?

Enables futures-util =0.3.29

bytes implicit feature

Enables bytes

bytes:

Types and traits for working with bytes

smol_str implicit feature

Enables smol_str

smol_str:

small-string optimized string type with O(1) clone

smallvec implicit feature

Enables smallvec

smallvec:

'Small vector' optimization: store up to a small number of items on the stack