Crate nandoize

source ·
Expand description

A collection of procedural macros used to derive nanotransaction wrappers for (almost) arbitrary user-provided Rust functions.

Modules

  • contracts 🔒
  • epics 🔒
  • Generator of a concrete NandoManager implementation.
  • lib_output 🔒
    Generator of a concrete resolver.rs implementation for an external library.
  • Module-internal structures used while generating nanotransaction variants of user functions.
  • resolver 🔒
  • syn_utils 🔒
    A collection of utilities to reduce the pain of interacting with syn when it comes to types and typepaths (and use directives)

Functions

Attribute Macros

  • Attribute macro used to generate a nanotransaction out of the given function.
  • Attribute macro used to generate a nanotransaction out of the given function, and update the associated library’s dispatch function..

Derive Macros

  • Derive macro used to generate an empty implementation of Persistable for the specified struct.
  • Derive macro used to generate an empty implementation of Persistable for the specified struct. The difference with the PersistableDerive macro is the target output file.