workflow_macro

Crates.ioworkflow_macro
lib.rsworkflow_macro
version0.0.3
sourcesrc
created_at2022-07-21 10:06:18.963229
updated_at2023-01-06 13:08:53.469244
descriptionDerive Macro for Workflow-Aurras
homepage
repositoryhttps://github.com/HugoByte/aurras/workflow/workflow_macro
max_upload_size
id629567
size7,215
SHANiTH K K (shanithkk)

documentation

https://docs.rs/workflow_macro/latest/

README

Workflow Macro

Description

This is a Derive Macro for Workflow-Aurras. This macro implements necessary methods for workflow, like add node, delete node, add edges, etc..

Setup

Add following libraries.

workflow_macro = "0.0.2"

In your Cargo.toml file of your rust package.

Access this Macro by importing.

use workflow_macro::Flow;

Usage

Creates necessary methods to for Workflow.

#[derive(Flow)]
 pub struct Worflow{

   edges: Vec<(usize, usize)>,
   nodes: Vec<`node_type`>,

 }

References

License

Licensed under Apache-2.0

Commit count: 0

cargo fmt