Cargo Features

[dependencies]
pinocchio = { version = "0.10.2", default-features = false, features = ["alloc", "copy", "cpi"] }
default = alloc

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

alloc default

Enables slice-cpi of optional solana-instruction-view

copy

Enables copy of solana-account-view and solana-address

cpi

Enables solana-instruction-view

Pinocchio has 4 features without comments.