Cargo Features
light-zero-copy has no features set by default.
[dependencies]
light-zero-copy = { version = "0.6.0", features = ["std", "alloc", "solana", "pinocchio", "derive", "mut"] }
- std = alloc
-
Affects
light-zero-copy::num_trait… - alloc std?
-
Affects
light-zero-copy::traits,vec_u8::VecU8… - solana = solana-program-error
- pinocchio
-
Enables pinocchio ^0.9
- derive = light-zero-copy-derive
- mut
-
Enables mut of light-zero-copy-derive
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.