workflow_macro 0.0.3

Derive Macro for Workflow-Aurras
Documentation
  • Coverage
  • 0%
    0 out of 2 items documented0 out of 1 items with examples
  • Size
  • Source code size: 7.2 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 280.8 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 5s Average build duration of successful builds.
  • all releases: 5s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • shanithkk

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