From 4c77d32116a9254e03dd5b55d5be78de0b1af002 Mon Sep 17 00:00:00 2001 From: Rostislav Raykov Date: Fri, 16 Aug 2024 17:52:19 +0200 Subject: [PATCH] docs: Update readme to list sqlx related traits --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 64eb7a2..5b50c70 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,9 @@ The crate has some optional features: - `with-serde` - `iterator` - `with-schemars` +- `with-sqlx-sqlite` +- `with-sqlx-postgres` +- `with-sqlx-mysql` ### with-serde @@ -43,6 +46,18 @@ If you need to generate a JSON schema for your project, you can use the `with-sc **NOTE**: This feature enables `with-serde` as well. +### with-sqlx-sqlite + +Implements the `Type` and `Decode` traits from [sqlx](https://github.com/launchbadge/sqlx) version >0.7 for SQLite. + +### with-sqlx-postgres + +Implements the `Type` and `Decode` traits from [sqlx](https://github.com/launchbadge/sqlx) version >0.7 for PostgreSQL. + +### with-sqlx-mysql + +Implements the `Type` and `Decode` traits from [sqlx](https://github.com/launchbadge/sqlx) version >0.7 for MySQL. + ## Examples ```rust