Cargo Features

[dependencies]
ockam_multiaddr = { version = "0.69.0", default-features = false, features = ["std", "cbor", "serde"] }
default = std

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

std default = miette

Enables std of minicbor ^0.25.1, ockam_core, optional serde, and unsigned-varint

ockam_core:

Feature (enabled by default): "std" enables functionality expected to be available on a standard platform.

Affects proto::Ip4, proto::Ip6

cbor = minicbor

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.

miette std
minicbor cbor? std

Enables minicbor ^0.25.1

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework