rust-integration-services 0.3.1

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

Rust Integration Services

A modern, fast, and lightweight integration library written in Rust, designed for memory safety and stability. It simplifies the development of scalable integrations for receiving and sending data, with built-in support for common protocols.

Crates.io Rust Version Docs.rs
License

Installation

Add rust-integration-services to your project Cargo.toml with all or select features.

All features

[dependencies]
tokio = { version = "1.47.1", features = ["full"] }
rust-integration-services = "0.3.1"

With select features

[dependencies]
tokio = { version = "1.47.1", features = ["full"] }
rust-integration-services = { version = "0.3.1", default-features = false, features = ["file", "schedule", "sftp", "http"] }

Features

File

Examples

The file module focus on the local file system and is useful for polling files in a directory, copying, moving or writing to a file.

Http

Examples

The http module is built on top of the fast and reliable hyper HTTP library, and routing is handled using matchit url router library.

It supports both HTTP/1.1 and HTTP/2 protocols, enabling modern, high-performance HTTP communication with automatic protocol negotiation via ALPN (Application-Layer Protocol Negotiation) with dynamic routing for REST.

Sftp

Examples

Using SFTP requires openssl to be installed on the system.
Make sure you also have the development packages of openssl installed. For example, libssl-dev on Ubuntu or openssl-devel on Fedora.

Schedule

Examples

The schedule module assist in scheduling tasks over time, such as hourly, daily or weekly.
During downtime or maintenance it calculates the next scheduled time automatically on resume.