servify 0.1.1

A macro for effortlessly enabling message passing, inter-process communication, HTTP/TCP server functionality, and more with a unified implementation in struct methods.
Documentation
1
2
3
4
5
6
7
8
9
use super::SimpleCounter;

#[servify::export]
impl SimpleCounter {
    fn increment_and_get_ex(&mut self) -> u32 {
        self.counter += 1;
        self.counter
    }
}