Skip to main content

Module rust_lang

Module rust_lang 

Source
Expand description

Rust contract extraction over tree-sitter-rust. One module per file. State is recognized for the two supported contract ecosystems: Anchor (#[account] structs, expanded through Context<T> / #[derive(Accounts)] containers) and CosmWasm (Item / Map storage declarations with their save/load-style accesses). Plain Rust still gets modules, functions and call edges.

Structsยง

RustExtractor