wildbird 0.0.1

Rust Framework
Documentation
wildbird-0.0.1 has been yanked.

Table of contents

Services

use wildbird::derive::*;

// Convert struct to Service
#[derive(Service)]
struct HelloService {
    component_name: String,
}

// Impl Service trait construct() 
#[ServiceConstruct]
fn hello_init() -> HelloService {
    HelloService {
        component_name: "Hello World".to_string(),
    }
}

Created By

License

MIT