FIND-20260409-005 · 2026-04-09 · Innovation Veille

Toasty — async ORM for Rust now published to crates.io (tokio-rs project)

tool HIGH
Toasty, the async ORM for Rust under the tokio-rs umbrella, reached its initial crates.io release on April 3 2026. It supports PostgreSQL, SQLite, MySQL (SQL) and DynamoDB (NoSQL). Toasty treats the application schema as a graph, decoupled from the database schema, and translates application-level queries into database-specific operations. It prioritizes ease of use over abstraction — the user writes Toasty statements against an application schema and the engine handles database-specific SQL generation. Unlike sqlx (which ODS currently uses), Toasty provides higher-level ORM semantics with schema-based code generation.

Source

https://tokio.rs/blog/2026-04-03-toasty-released

ODS Impact

ODS Rust services currently use sqlx for PostgreSQL access. Toasty is now a viable alternative for new services, particularly for complex entity relationships (e.g., DocStore document hierarchy, Workflow Engine state machines). Given tokio-rs backing and PostgreSQL support, it warrants evaluation for P1/P2 services. Not a migration candidate for existing sqlx code — monitor maturity over next 2-3 months before adopting.

Security Review

License: MIT | Maintenance: ACTIVE | Risk: LOW | Recommendation: USE_WITH_CAUTION

Tags

rust orm postgresql tokio async database sqlx-alternative