#solana #options

clone-solana-program-option

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

1 stable release

new 2.2.1 Apr 30, 2025

#623 in Magic Beans

Download history 110/week @ 2025-04-27

110 downloads per month
Used in 37 crates (3 directly)

Apache-2.0

33KB
307 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