cloud-lib

cargo add cloud-lib serde -D serde/derive

Example

```rust use cloud_lib::{cloud, Result}; use serde::{Serialize, Deserialize};

[derive(Deserialize)]

struct Input { value: usize, name: String, }

[derive(Serialize)]

struct Output { value: usize, name: String, }

[cloud]

fn main(input: Input) -> Result { let output = Output { value: input.value * 2, name: input.name.chars().rev().collect(), }; Ok(output) } ```