51 releases (5 breaking)

Uses new Rust 2024

0.6.4 May 14, 2026
0.6.0 Mar 25, 2026
0.4.8 Dec 31, 2025
0.4.3 Nov 27, 2025
0.2.9 Jul 29, 2025

#12 in #saas

Download history 4/week @ 2026-03-03 40/week @ 2026-03-10 73/week @ 2026-03-24 8/week @ 2026-03-31 136/week @ 2026-04-07 61/week @ 2026-04-14 43/week @ 2026-05-05 64/week @ 2026-05-12 73/week @ 2026-05-19 4/week @ 2026-05-26

184 downloads per month

MIT license

245KB
6K SLoC

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

Dependencies

~22–50MB
~738K SLoC