Skip to content

Commit cd7da45

Browse files
committed
new version
1 parent 8d77a6a commit cd7da45

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ doctest = false
1919
members = ["postgres-from-row-derive"]
2020

2121
[workspace.package]
22-
version = "0.4.0"
22+
version = "0.5.0"
2323
authors = ["Remo Pas <[email protected]>"]
2424
edition = "2021"
2525
repository = "https://github.com/remkop22/postgres-from-row"
@@ -29,7 +29,7 @@ keywords = ["postgres", "postgres-tokio", "postgresql", "from-row", "mapper"]
2929
categories = ["database", "parsing", "data-structures"]
3030

3131
[workspace.dependencies]
32-
postgres-from-row-derive = { path = "postgres-from-row-derive", version = "=0.4.0" }
32+
postgres-from-row-derive = { path = "postgres-from-row-derive", version = "=0.5.0" }
3333

3434
[dependencies]
3535
tokio-postgres = { version = "0.7.7", default_features = false }

README.md

+2-8
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,13 @@
22

33
Derive `FromRow` to generate a mapping between a struct and postgres rows.
44

5-
This crate works with [postgres](<https://docs.rs/postgres>) by default.
5+
This crate is compatible with both [postgres](<https://docs.rs/postgres>) and [tokio-postgres](<https://docs.rs/tokio-postgres>).
66

77
```toml
88
[dependencies]
9-
postgres_from_row = "0.4.0"
9+
postgres_from_row = "0.5.0"
1010
```
1111

12-
If you want to use it with [tokio-postgres](<https://docs.rs/tokio-postgres>), enable it like so:
13-
14-
```toml
15-
[dependencies]
16-
postgres_from_row = { version = "0.4.0", default_features = false, features = ["tokio-postgres"] }
17-
```
1812
## Examples
1913
```rust
2014
use postgres_from_row::FromRow;

0 commit comments

Comments
 (0)