6 releases

new 0.1.7 May 3, 2021
0.1.6 Apr 27, 2021
0.1.4 Mar 4, 2021
0.1.3 Feb 4, 2021
0.1.2 Jan 31, 2021

#608 in Cryptography

Download history 50/week @ 2021-01-29 18/week @ 2021-02-05 17/week @ 2021-02-12 7/week @ 2021-02-19 19/week @ 2021-02-26 7/week @ 2021-03-05 2/week @ 2021-03-12 12/week @ 2021-03-19 622/week @ 2021-03-26 958/week @ 2021-04-02 73/week @ 2021-04-09 28/week @ 2021-04-16 33/week @ 2021-04-23 36/week @ 2021-04-30

605 downloads per month
Used in ockam

Apache-2.0

9KB
118 lines

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.

Dependencies

~345–770KB
~19K SLoC