Commit Graph

2578 Commits

Author SHA1 Message Date
Matt Oliver
6ae60d6d09 Add types to type docs 2022-03-16 21:23:15 -05:00
Matt Oliver
944b72974f Add ltree, lquery and ltxtquery support 2022-03-16 21:23:15 -05:00
Steven Fackler
a638adaf79
Merge pull request #877 from timando/cidr
Add ToSql / FromSql for IpInet and IpCidr from cidr crate
2022-03-16 21:03:32 -04:00
Tim Anderson
27039f6c3a Change error handling in cidr FromSql implementations 2022-03-17 09:31:13 +10:00
Tim Anderson
dd7bc073f7 Document cidr type conversion and run rustfmt 2022-03-16 14:32:50 +10:00
Tim Anderson
9685f9c532 Add ToSql / FromSql for IpInet and IpCidr from cidr crate 2022-03-16 14:13:36 +10:00
Steven Fackler
25cabd5d85
Merge pull request #870 from sfackler/dependabot/cargo/tokio-util-0.7
Update tokio-util requirement from 0.6 to 0.7
2022-02-11 09:01:11 -05:00
dependabot[bot]
7fd748ba96
Update tokio-util requirement from 0.6 to 0.7
Updates the requirements on [tokio-util](https://github.com/tokio-rs/tokio) to permit the latest version.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/commits)

---
updated-dependencies:
- dependency-name: tokio-util
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-11 13:47:41 +00:00
Steven Fackler
8262109598
Merge pull request #865 from sfackler/dependabot/cargo/parking_lot-0.12
Update parking_lot requirement from 0.11 to 0.12
2022-01-31 09:17:57 -05:00
Steven Fackler
a07a39cc87
Update ci.yml 2022-01-31 09:11:29 -05:00
dependabot[bot]
842e5cfdcb
Update parking_lot requirement from 0.11 to 0.12
Updates the requirements on [parking_lot](https://github.com/Amanieu/parking_lot) to permit the latest version.
- [Release notes](https://github.com/Amanieu/parking_lot/releases)
- [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Amanieu/parking_lot/compare/0.11.0...0.12.0)

---
updated-dependencies:
- dependency-name: parking_lot
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-31 13:15:32 +00:00
Steven Fackler
86c914c6fc
Merge pull request #853 from elpiel/boxed-dyn-ToSql
Boxed owned query parameters
2021-12-31 16:27:29 -05:00
Steven Fackler
774016d5c7
Merge pull request #857 from malobre/feature/derive-transparent
Derive transparent
2021-12-30 17:54:42 -05:00
Maël Obréjan
4561d44661
Add #[postgres(transparent)] 2021-12-30 22:29:07 +01:00
Steven Fackler
18a4e0543c
Merge pull request #856 from malobre/feature/box_str_sql
Implement `ToSql` & `FromSql` for `Box<str>`
2021-12-29 20:34:45 -05:00
Maël Obréjan
35f4c0aeef
Implement ToSql & FromSql for Box<str> 2021-12-26 21:09:46 +01:00
Lachezar Lechev
c516805275
impl BorrowToSql for:
- Box<dyn ToSql + Sync>
- Box<dyn ToSql + Sync + Send>
2021-12-16 10:37:53 +02:00
Steven Fackler
630f179892
Release postgres-protocol v0.6.3 2021-12-10 19:21:59 -05:00
Steven Fackler
c3a029e60c
Merge pull request #849 from sfackler/md-updates
Update hash crates
2021-12-08 18:40:57 -05:00
Steven Fackler
76cd380e5a
clippy 2021-12-08 18:35:18 -05:00
Steven Fackler
8ead6e6c69
Update hash crates 2021-12-08 18:30:44 -05:00
Steven Fackler
c5591c810c
Release postgres-derive v0.4.1 2021-11-23 23:50:27 -05:00
Steven Fackler
385bf35803
Merge pull request #841 from sfackler/fix-raw-idents
Fix handling of raw ident fields in derive
2021-11-23 18:49:21 -05:00
Steven Fackler
dc591ff2ca
Fix handling of raw ident fields in derive 2021-11-23 23:40:00 -05:00
Steven Fackler
84fa5fa1d0 Release tokio-postgres v0.7.5 2021-10-29 21:33:07 -04:00
Steven Fackler
8bb5712406 Implement ToStatement for String
Closes #794
2021-10-28 19:41:32 -04:00
Steven Fackler
da6e2b1164
Merge pull request #835 from ilslv/master
Fix transaction not being rolled back on `Client::transaction()` `Future` dropped before completion
2021-10-28 19:30:25 -04:00
Steven Fackler
33703689e0 Clean up licenses 2021-10-28 19:22:13 -04:00
Steven Fackler
a47a8edf98 Remove src/url.rs from THIRD_PARTY
It hasn't existed in the project for quite a while
2021-10-28 19:16:57 -04:00
Steven Fackler
24b01add82 Don't use a built container for test postgres 2021-10-28 19:08:38 -04:00
ilslv
f6189a95f2 Fix transaction not being rolled back on Client::transaction() Future dropped before completion 2021-10-28 12:10:30 +03:00
Steven Fackler
0adcf58555 Release tokio-postgres v0.7.4 2021-10-19 19:58:49 -04:00
Steven Fackler
7f38b392e7
Merge pull request #833 from sfackler/deferred-constraint
Fix commit-time error reporting
2021-10-19 19:57:42 -04:00
Steven Fackler
b2df11579f Fix commit-time error reporting
Closes #832
2021-10-19 19:36:14 -04:00
Steven Fackler
d45461614a Release postgres v0.19.2 2021-09-29 19:38:29 -04:00
Steven Fackler
8542d078bf Release tokio-postgres v0.7.2 2021-09-29 19:34:32 -04:00
Steven Fackler
349c38b1fe Release postgres-protocol v0.6.2 2021-09-29 19:27:15 -04:00
Steven Fackler
c7785d0b10 Release postgres-types v0.2.2 2021-09-29 19:24:46 -04:00
Steven Fackler
3854aecbb1
Merge pull request #825 from lnicola/gate-doctests
Add feature gates for doctests
2021-09-25 13:13:15 -04:00
Laurențiu Nicola
34d8b77644 Add feature gates for doctests 2021-09-25 20:04:41 +03:00
Steven Fackler
031e4e3832
Merge pull request #824 from lnicola/time-0.3
Add support for time 0.3
2021-09-24 07:57:41 -04:00
Laurențiu Nicola
be0d71fad5 Add support for time 0.3 2021-09-24 08:26:37 +03:00
Steven Fackler
3e4be86531 more clippy 2021-08-10 21:17:50 -04:00
Steven Fackler
a8a35eb6db fix clippy 2021-08-10 21:07:20 -04:00
Steven Fackler
be0c85ac0b Update phf 2021-08-10 20:30:27 -04:00
Steven Fackler
d95eb353dd
Merge pull request #813 from abizjak/master
Implement BorrowToSql for an additional type.
2021-07-25 16:58:46 -04:00
Aleš Bizjak
da4e323578 Implement BorrowToSql for an additional type.
Closes #811.
2021-07-25 22:02:28 +02:00
Steven Fackler
99aa7801be
Merge pull request #808 from sfackler/dependabot/cargo/env_logger-0.9
Update env_logger requirement from 0.8 to 0.9
2021-07-15 09:36:57 -04:00
dependabot[bot]
24928ebce3
Update env_logger requirement from 0.8 to 0.9
Updates the requirements on [env_logger](https://github.com/env-logger-rs/env_logger) to permit the latest version.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases)
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/main/CHANGELOG.md)
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.8.0...v0.9.0)

---
updated-dependencies:
- dependency-name: env_logger
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-15 13:10:25 +00:00
Steven Fackler
8e2e90a161
Merge pull request #806 from LukasKalbertodt/add-from-to-sql-arrays
Add `FromSql` and `ToSql` impls for arrays (guarded behind feature)
2021-07-13 14:13:01 -04:00