SQLx 0.6.1 released: the async SQL client for Rust now supports easy integration testing against databases with `#[sqlx::test]`!

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

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • 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)

  • What I'm most excited about, however, is how this can be used to do API testing with Axum entirely in-process (!)--except the database itself, of course--which I've demonstrated in a new example project I added as part of this feature: https://github.com/launchbadge/sqlx/blob/main/examples/postgres/axum-social-with-tests/tests/comment.rs

  • axum

    Ergonomic and modular web framework built with Tokio, Tower, and Hyper

  • The mentioned example itself is criminally understated: https://github.com/tokio-rs/axum/tree/main/examples/testing

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
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