Crates.io | acton-macro |
lib.rs | acton-macro |
version | |
source | src |
created_at | 2024-10-03 23:50:18.730888 |
updated_at | 2024-12-02 03:16:15.845695 |
description | Acton Macro provides procedural macros that simplify the creation of messages and agents in the Acton framework, enabling more concise and expressive code. |
homepage | https://github.com/Govcraft/acton-reactive |
repository | https://github.com/Govcraft/acton-reactive |
max_upload_size | |
id | 1395815 |
Cargo.toml error: | TOML parse error at line 17, column 1 | 17 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
acton-macro
provides procedural macros that simplify the creation of messages and agents in the Acton Reactive Application Framework. These macros reduce boilerplate and make your code more concise, allowing you to focus on building reactive, event-driven applications.
acton_message
macro helps you quickly define messages that are compatible with the Acton framework.acton-macro
is designed to be used with the Acton Reactive Application Framework, a Rust framework for building reactive and scalable applications using an agent-based model.The macros provided by acton-macro
are re-exported in the Acton Reactive Application Framework, so you don't need to import them separately. When you use acton-reactive
, the macros like acton_message
are available for use directly.
For example:
#[acton_message]
struct MyMessage;
This macro automatically generates the necessary traits for messages to be used with agents in the Acton framework. or
#[acton_actor]
struct MyActor;
This macro automatically generates the necessary traits for structs to be used as agents in the Acton framework.
For more advanced usage and detailed examples of how to use these macros in building reactive systems, refer to the Acton Reactive Application Framework documentation and examples.
This project is licensed under both the MIT and Apache-2.0 licenses. See the LICENSE-MIT
and LICENSE-APACHE
files for details.