Database choice for simple actix web project

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • rocksdb-rust

    Minimal Actix-web with RocksDB setup

  • This example will get you started with using rocksdb and actix web: https://github.com/ukchukx/rocksdb-rust

  • sqlx

    🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, and SQLite. (by launchbadge)

  • I'd agree that Diesel is total overkill for a database with 1 table and 2 columns. sqlx seems like a good level of abstraction for your needs.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • If it happen that may get slightly more complex than what you just said(you know scope creep), you may have a look at structsy it allow you to store simple structs to a file, but with the durability of a database, here an example of a actix web project that use it

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts