33 releases (breaking)

new 0.27.0 Nov 23, 2021
0.25.0 Oct 25, 2021
0.11.0 Jul 29, 2021
0.1.4 Mar 4, 2021

#636 in Cryptography

Download history 224/week @ 2021-08-09 528/week @ 2021-08-16 464/week @ 2021-08-23 611/week @ 2021-08-30 450/week @ 2021-09-06 348/week @ 2021-09-13 165/week @ 2021-09-20 133/week @ 2021-09-27 117/week @ 2021-10-04 87/week @ 2021-10-11 28/week @ 2021-10-18 30/week @ 2021-10-25 25/week @ 2021-11-01 44/week @ 2021-11-08 22/week @ 2021-11-15 50/week @ 2021-11-22

745 downloads per month
Used in ockam

Apache-2.0

10KB
127 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.

Usage

Add this to your Cargo.toml:

[dependencies]
ockam_node_attribute = "0.27.0"

License

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

Dependencies

~290–710KB
~18K SLoC

a