#solana #representation #representation-of-option #interface

rialo-s-program-option

A C representation of Rust's Option, used in Solana programs

19 releases (6 breaking)

new 0.9.0 Jun 8, 2026
0.5.0-alpha.0 Apr 24, 2026
0.3.0-alpha.0 Mar 25, 2026
0.1.10 Dec 9, 2025
0.1.6 Nov 28, 2025

#1 in #representation

Download history 94/week @ 2026-03-09 113/week @ 2026-03-16 64/week @ 2026-03-23 49/week @ 2026-03-30 73/week @ 2026-04-06 59/week @ 2026-04-13 53/week @ 2026-04-20 69/week @ 2026-04-27 29/week @ 2026-05-04 98/week @ 2026-05-11 41/week @ 2026-05-18 40/week @ 2026-05-25 159/week @ 2026-06-01

345 downloads per month
Used in 48 crates (5 directly)

Apache-2.0

35KB
336 lines

A C representation of Rust's Option, used across the FFI boundary for Solana program interfaces.

This implementation mostly matches std::option except iterators since the iteration trait requires returning std::option::Option

No runtime deps