rust-integration-services 0.5.13

A modern, fast, and lightweight integration library written in Rust, designed for memory safety and stability.
Documentation
# FileReceiver

Poll the directory `./io/in/` and receive a callback with the path of a matching file using regular expression.

``` rust
FileReceiver::new("./io/in/")
.route(".*", async move |_uuid, path| {
    println!("Callback: {:?}", path);
})
.receive()
.await;
```

# FileSender

Move a file from one directory to another.
``` rust
let result = FileSender::new("./io/out/file.txt")
.send_move("./io/in/file.txt")
.await;
```

Copy the contents from a file to another.
``` rust
let result = FileSender::new("./io/out/file.txt")
.send_copy("./io/in/file.txt")
.await;
```

Write a string to a file, appending the text.
``` rust
let result = FileSender::new("./io/out/file.txt")
.send_string("text")
.await;
```