ockam_node_test_attribute

Crates.ioockam_node_test_attribute
lib.rsockam_node_test_attribute
version0.5.0
sourcesrc
created_at2021-10-25 23:01:28.78149
updated_at2021-11-23 16:43:00.331324
descriptionOckam node attribute proc_macros.
homepagehttps://github.com/ockam-network/ockam
repositoryhttps://github.com/ockam-network/ockam/tree/develop/implementations/rust/ockam/ockam_node_test_attribute
max_upload_size
id471342
size43,332
Matthew Gregory (mattgreg)

documentation

README

ockam_node_test_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] and #[node_test] attribute proc_macros. The #[node] 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 #[node_test] does the same but for test functions.

Usage

Add this to your Cargo.toml:

[dependencies]
ockam_node_test_attribute = "0.5.0"

License

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

Commit count: 9096

cargo fmt