Skip to content

Commit

Permalink
docs: Update readme to list sqlx related traits
Browse files Browse the repository at this point in the history
  • Loading branch information
zbrox committed Aug 16, 2024
1 parent a5af921 commit 4c77d32
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down

0 comments on commit 4c77d32

Please sign in to comment.