Cargo Features

[dependencies]
candid = { version = "0.10.7", default-features = false, features = ["all", "bignum", "printer", "value", "serde_bytes"] }
default all? = bignum, printer, serde_bytes

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

all = default, value

Enables arbitrary of ic_principal

bignum default value?

Enables num-bigint and num-traits

Affects types::number, types::Serializer.serialize_int, types::Serializer.serialize_nat

printer default value?

Enables pretty

Affects candid::pretty

value all? = bignum, printer

Affects candid::value, types::value

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_bytes default