Crate star_frame_proc
Source - pubkey
- Compile time generation of a
Pubkey from a base58 string literal. - sighash
- Compile time hashing of string literals.
- star_frame_error
- Derives the
StarFrameError and ErrorsToIdl traits on an enum. - star_frame_instruction
- Shorthand to implement the
StarFrameInstruction trait through a StarFrameInstruction::process function declaration. - unsized_impl
- Generates an impl block for working with
ExclusiveWrappers around unsized types. - unsized_type
- Generates unsized type wrappers for dynamic-length structs and enums in a way that emulates normal rust syntax.
- zero_copy
- Convenience wrapper around the common
bytemuck derives and repr attribute.
- AccountSet
- Derives
AccountSet lifecycle traits and AccountSetToIdl for a struct. - Align1
- Derives
Align1 for a valid type. - GetSeeds
- Derives the
GetSeeds trait for a struct. - InstructionArgs
- Derives
InstructionArgs on a struct. - InstructionSet
- Derives the
InstructionSet trait for an enum of instructions. - InstructionToIdl
- Derives
InstructionToIdl for instruction types. - ProgramAccount
- Derives
ProgramAccount for a struct. - StarFrameProgram
- Derives
StarFrameProgram and sets up the entrypoint and useful items for a program. This should be placed at the root of the crate. - TypeToIdl
- Derives
TypeToIdl for a valid type.