Cargo Features

[dependencies]
ipfi = { version = "0.1.0-rc.2", default-features = false, features = ["wire", "serde", "async", "blocking", "int-u8", "int-u16", "int-u64"] }
default = async, blocking, int-u16, serde, wire

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

wire default
serde default = rmp, rmp-serde

Enables serde

async default = tokio
blocking default

Affects ipfi::blocking

int-u8

These are mutually exclusive features that govern which integer type is used internally. When you know approximately how many messages you need to be sending and receiving, this can be extremely useful to reduce memory usage.

int-u16 default
int-u32 int-u64

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.

rmp-serde serde
rmp serde
tokio async