Crate ockam_node_test_attribute[][src]

Expand description

Node attributes proc_macros.

The #[node] macro transform an async input main function into a regular output main function that sets up an ockam node and executes the body of the input function inside the node.

The #[node_test] macro transform an async input function into a test output function that sets up an ockam node and executes the body of the input function inside the node.

Attribute Macros

Marks an async function to be run in an ockam node.

Marks an async test function to be run in an ockam node.