actrpc-core-macros 0.1.0

Procedural macros for ActRPC core.
Documentation
  • Coverage
  • 0%
    0 out of 4 items documented0 out of 3 items with examples
  • Size
  • Source code size: 17.19 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 331 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 4s Average build duration of successful builds.
  • all releases: 4s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • kutayyildiz/ActRPC
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • kutayyildiz

actrpc-core-macros

Procedural macros for actrpc-core.

Macros

  • DescribeValue
  • DescribeParams
  • DescribeOk

Example:

use actrpc_core::{DescribeParams, DescribeOk, DescribeValue};

#[derive(DescribeParams)]
struct Params {
    name: String,
    count: Option<i32>,
}

#[derive(DescribeOk)]
struct ResultData {
    id: String,
}

#[derive(DescribeValue)]
struct Payload {
    enabled: bool,
    tags: Vec<String>,
}