Registry / async / actix-derive

actix-derive

JSON →
library0.6.2rscratesunverified

Derive macros for `actix` actors, simplifying actor implementation.

# Cargo.toml [dependencies] actix_derive = "0.6.2"
INSTALL
IMPORT
SIG · ACTIX-DERIVE
A
actix-derive
asyncrustv0.6.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Actor
use actix::Actor;

Defines a simple actor using the derive macro.

use actix::Actor; #[derive(Actor)] struct MyActor; fn main() { let _ = MyActor.start(); }
Debug
Known issues
gotchaRequires the `actix` crate as a dependency.
fix
Add `actix = "0.13"` to Cargo.toml.
affects: >=0.6.0
Upgrade
Version history
0.6.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
54 hits · last 30 days
node
44
Amazon
1
Resources
actix-derive — cargo add actix-derive · libregistry