v0.24.0
API changes
-
library switched to non-consuming API:
// pre 0.24.0: let conn = conn.query_drop("DO 1").await?; // 0.24.0: conn.query_drop("DO 1").await?;
-
Queryabletrait was updated and now it is more convenient to work with usual single-result sets.
UseQueryable::query_iterandQueryable::exec_iterif you need more flexibility. -
Querytrait was introduced. It allows you to run queries directly on a Pool and to create 'staticQueryResults -
Thick
Stmtstructure was removed in favor of theStatementstructure, which is a thin wrapper over raw statement identifier and metadata.