Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
remkop22 committed Jan 10, 2023
1 parent 8a67be4 commit 2e786ba
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ doctest = false
members = ["postgres-from-row-derive"]

[workspace.package]
version = "0.3.0"
version = "0.4.0"
authors = ["Remo Pas <[email protected]>"]
edition = "2021"
repository = "https://github.com/remkop22/postgres-from-row"
Expand All @@ -29,7 +29,7 @@ keywords = ["postgres", "postgres-tokio", "postgresql", "from-row", "mapper"]
categories = ["database", "parsing", "data-structures"]

[workspace.dependencies]
postgres-from-row-derive = { path = "postgres-from-row-derive", version = "=0.3.0" }
postgres-from-row-derive = { path = "postgres-from-row-derive", version = "=0.4.0" }

[features]
default = ["postgres"]
Expand All @@ -40,3 +40,4 @@ tokio-postgres = ["dep:tokio-postgres"]
tokio-postgres = { version = "0.7.7", default_features = false, optional = true }
postgres = { version = "0.19.4", default_features = false, optional = true }
postgres-from-row-derive.workspace = true

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ This crate works with [postgres](<https://docs.rs/postgres>) by default.

```toml
[dependencies]
postgres_from_row = "0.3.0"
postgres_from_row = "0.4.0"
```

If you want to use it with [tokio-postgres](<https://docs.rs/tokio-postgres>), enable it like so:

```toml
[dependencies]
postgres_from_row = { version = "0.3.0", default_features = false, features = ["tokio-postgres"] }
postgres_from_row = { version = "0.4.0", default_features = false, features = ["tokio-postgres"] }
```
## Examples
```rust
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
//!
//! ```toml
//! [dependencies]
//! postgres_from_row = "0.3.0"
//! postgres_from_row = "0.4.0"
//! ```
//!
//! If you want to use it with [tokio-postgres](<https://docs.rs/tokio-postgres>), enable it like so:
//!
//! ```toml
//! [dependencies]
//! postgres_from_row = { version = "0.3.0", default_features = false, features = ["tokio-postgres"] }
//! postgres_from_row = { version = "0.4.0", default_features = false, features = ["tokio-postgres"] }
//! ```
//! # Examples
//! ```rust
Expand Down

0 comments on commit 2e786ba

Please sign in to comment.