Cargo Features

[dependencies]
crabmole = { version = "0.1.8", default-features = false, features = ["std", "alloc", "full", "derive", "sort", "encoding", "ascii85", "base32", "base58", "base64", "binary", "hex", "io", "async-io", "pipe", "async-pipe", "pollster"] }
default = derive, std

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

std default async-io? async-pipe? full? io? pipe? = alloc

Affects base32::Decoder, binary::write_uvarint, binary::read_uvarint, binary::write_varint, binary::read_varint, hex::dump

alloc std

Affects ascii85::Decoder, base64::Decoder, binary::append_uvarint, binary::append_varint, hex::encode_to_vec, hex::decode_to_vec, hex::Decoder

full = async-io, encoding, io, sort, std
derive default = crabmole-derive
sort full?

Affects crabmole::sort

encoding full? = ascii85, base32, base64, binary, hex

encoding related features

Affects crabmole::encoding

ascii85 encoding?

Affects encoding::ascii85, crabmole::encoding

base32 encoding?

Affects encoding::base32, crabmole::encoding

base58

Affects encoding::base58

base64 encoding?

Affects encoding::base64, crabmole::encoding

binary encoding?

Affects encoding::binary, crabmole::encoding

hex encoding?

Affects encoding::hex, crabmole::encoding

io full? = pipe, std

io related features

Affects hex::dump, crabmole::io

async-io full? = async-pipe, std

Affects crabmole::io

pipe io? = crossbeam-channel, parking_lot, std

Affects io::pipe, io::PipeError, crabmole::io

async-pipe async-io? = async-channel, async-lock, std

Enables io of futures-util

Affects io::async_pipe, io::PipeError, crabmole::io

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.

async-channel async-pipe?

Enables async-channel ^1.7

async-lock async-pipe?

Enables async-lock ^2.6

crossbeam-channel pipe?
crabmole-derive derive
futures-util async-pipe?
parking_lot pipe?
pollster implicit feature

Enables pollster ^0.3

pollster:

Synchronously block the thread until a future completes