Expand description

Augments syn’s AST with helper methods to deal with Near SDK definitions. Additionally, provides function to deal with Rust syntax.

Modules

Allows the user to build a NEAR Rust Contract from multiple Rust source files.

Markdown

Functions to transpile Rust to TypeScript.

Traits

Any Rust item, e.g., struct or enum to which attributes can attached to.

Defines standard attributes found in the NEAR SDK.

Defines standard attributes and helper methods used when exporting a contract.

Defines methods to deal with serde’s declarations in structs or enums.

Functions

Writes Rust doc comments to file. Each line of doc is prefixed with prefix. See https://doc.rust-lang.org/rustdoc/the-doc-attribute.html.