ockam_node_attribute 0.21.0

Ockam node attribute proc_macro.
Documentation

ockam_node_attribute

crate docs license discuss

Ockam is a library for building devices that communicate securely, privately and trustfully with cloud services and other devices.

This crate provides the #[node] attribute proc_macro. This macro transforms 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 main Ockam crate re-exports this macro and it is intended to be used as #[ockam::node], see Ockam crate.

License

This code is licensed under the terms of the Apache License 2.0.