Our great sponsors
-
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)
-
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.
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
The mentioned example itself is criminally understated: https://github.com/tokio-rs/axum/tree/main/examples/testing
Related posts
- SQLX MSSQL Connection String Problem
- SQLx 0.7 released! Offline mode usability improvements, performance fixes and major upgrades across the board!
- MariaDB / SQLx - "Unknown Authentication Plugin"
- What do you think about macros that use remote source to calculate its result?
- Ask HN: Why is there no database with a functional query language?