Cargo Features
[dependencies]
pinocchio = { version = "0.10.2", default-features = false, features = ["alloc", "copy", "cpi"] }
- default = alloc
-
The
allocfeature is set by default wheneverpinocchiois added withoutsomewhere in the dependency tree.default-features = false - 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.