#product-os #server-api #api-calls #open-api #server-framework #automation #workflow

product-os-connector

Product OS : Connector provides a framework for definining a server with APIs, outward API calls, a workflow to pass data along, all using only configuration that can be defined in JSON or Yaml. This flexible and powerful framework is akin to using automation tools like Zapier and IFTTT and tray.io and supports using OpenAPI / Swagger defined APIs.

17 releases

0.0.19 Jun 14, 2024
0.0.18 Apr 18, 2024
0.0.10 Nov 30, 2023
0.0.6 Sep 3, 2023
0.0.5 Aug 21, 2023

#101 in Configuration

Download history 191/week @ 2024-06-08 97/week @ 2024-06-15 65/week @ 2024-06-22 8/week @ 2024-06-29 16/week @ 2024-07-06 55/week @ 2024-07-13 28/week @ 2024-07-20 40/week @ 2024-07-27 47/week @ 2024-08-03 60/week @ 2024-08-10 24/week @ 2024-08-17 32/week @ 2024-08-24 30/week @ 2024-08-31 17/week @ 2024-09-07 41/week @ 2024-09-14 73/week @ 2024-09-21

162 downloads per month
Used in 14 crates (via product-os-configuration)

AGPL-3.0-only

300KB
4.5K SLoC

Product OS : Connector

Product OS : Connector provides a framework for definining a server with APIs, outward API calls, a workflow to pass data along, all using only configuration that can be defined in JSON or Yaml. This flexible and powerful framework is akin to using automation tools like Zapier and IFTTT and tray.io and supports using OpenAPI / Swagger defined APIs.

What is Product OS?

Product OS is a collection of packages that provide different tools and features that can work together to build products more easily for the Rust ecosystem.

Installation

Use the Rust crate package manager cargo to install Product OS : Connector.

cargo add product-os-connector

or add Product OS : Connector to your cargo.toml [packages] section.

product-os-connector = { version = "0.0.19", features = [], default-features = true, optional = false }

Features

Product OS Connector supports a number of features leveraging existing Rust libraries to help connect APIs together using only configuration:

  • Define server with a set of inward APIs using only configuration
  • Define a set of outward APIs that can be called using only configuration
  • Supports REST, GraphQL and Web Sockets initially
  • Supports a number of authentication methods
  • Import OpenAPI / Swagger definitions easily for outward API calls
  • Define a workflow by passing data along from inward calls, passed through outward calls, data manipulation and then response
  • Supports no_std with alloc only environments

To make the most of Connector, you should use the Product OS : Server crate.

// Feature samples TODO

Usage

// Examples TODO

Contributing

Contributions are not currently available but will be available on a public repository soon.

License

GNU AGPLv3

Dependencies

~19–27MB
~728K SLoC