This project Openwhisk Rust Macro is a Rust derive macro which implements necessary methods to interact with Openwhisk-rust library to invoke actions deployed in Openwhisk. The Openwhisk Rust Client library requires Rust to be installed onto your local machine.
Add following libraries.
openwhisk-rust = "0.1.1"
openwhisk_macro = "0.1.2"
In your Cargo.toml file of your rust package.
Then access those libraries by importing.
use openwhisk_macro::OpenWhisk;
use openwhisk-rust::*;
```
// Note: Action should be deployed prior,before accessing it. pub struct AnyAction { action_name: String, // *some fileds // }
```
Licensed under Apache-2.0