saas-rs-sdk

Crates.iosaas-rs-sdk
lib.rssaas-rs-sdk
version0.5.2
created_at2025-05-21 19:31:12.075034+00
updated_at2026-01-14 20:53:07.577345+00
descriptionThe SaaS RS SDK
homepagehttps://docs.saas-rs.com
repositoryhttps://gitlab.com/saas-rs/sdk.git
max_upload_size
id1683947
size29,065,751
David Rauschenbach (drauschenbach)

documentation

README

saas-rs-sdk

License Arch

The SaaS RS SDK provides support libraries for gRPC back-ends managed by the SaaS RS CLI code generator. This includes:

  • Authentication Adapters with support for a dozen identity providers
  • Storage Adapters for Document, Relational, and Key Value storage systems based on BSON storage models that map to gRPC Protobuf view models
  • Payment Providers for Service Broker synchronization of Services, Plans, and Service Instances with a payment provider

See the docs.saas-rs.com website for a full introduction.

Installing

$ cargo add saas-rs-sdk

Unit Testing

$ make check

Integration Testing

With MongoDB + Redis

$ export TEST_CONFIG_STORE_URL=mongodb://localhost:27017/saas-rs-sdk
$ export TEST_OBJECT_STORE_URL=mongodb://localhost:27017/saas-rs-sdk-objects
$ export TEST_SESSION_STORE_URL=redis://localhost:6379/15
$ make check

With Postgres + Redis

Run the schema generation script, then:

$ export TEST_CONFIG_STORE_URL=postgres://localhost:5432/saas_rs_sdk
$ export TEST_OBJECT_STORE_URL=file:///tmp/saas-rs-sdk-objects
$ export TEST_SESSION_STORE_URL=redis://localhost:6379/15
$ make check
Commit count: 0

cargo fmt