hopper-framework 0.1.0

Zero-copy state framework for Solana. Typed account architecture, phased execution, validation graphs, zero-copy collections, layout evolution, and cross-program interfaces. Built on Hopper Native. no_std, no_alloc, no proc macros required.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! `#[hopper::pod]` requires `#[repr(C)]` or `#[repr(transparent)]`
//! so that field offsets are stable. Without it, the compiler may
//! reorder fields and break zero-copy overlays.

use hopper::pod;

#[pod]
#[derive(Copy, Clone)]
pub struct NoRepr {
    pub value: u32,
}

fn main() {}