Cargo Features

Foca has no features set by default.

[dependencies]
foca = { version = "0.18.0", features = ["std", "bincode-codec", "postcard-codec", "unstable-notifications", "tracing"] }
default

Will always be empty

std bincode-codec?

Adds compatibility with some types and traits

bincode-codec = bincode, serde, std

Exposes BincodeCodec a lean general-purpose std-only codec

Enables std of bytes

postcard-codec = postcard, serde

Exposes PostcardCodec, a no_std-friendly codec

unstable-notifications

Enables experimental message-related notifications

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.

serde bincode-codec? postcard-codec?
bincode bincode-codec?
postcard postcard-codec?
tracing implicit feature

Enables tracing

tracing:

Application-level tracing for Rust