Actix is a rust actor framework.
- API Documentation (Development)
- API Documentation (Releases)
- Cargo package: actix
Actix is licensed under the Apache-2.0 license.
actix-derive
adds support for Rust Custom Derive / Macros 1.1 toactix
#[macro_use] extern crate actix_derive;
use std::io::Error;
#[derive(Message)]
#[rtype(result="Result<usize, Error>")]
struct Sum(usize, usize);
fn main() {}
This code expands into following code:
extern crate actix;
use std::io::Error;
use actix::Message;
struct Sum(usize, Error);
impl Message for Sum {
type Result = Result<usize, Error>;
}
fn main() {}
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.