Steven Fackler
07aa69febf
update rand
2020-12-21 10:05:20 -05:00
Steven Fackler
2ab708c4bc
minor cleanup
2020-12-17 20:36:15 -05:00
Steven Fackler
6ed729845f
Merge pull request #711 from zach-com/is-valid-timeout
...
Support connection validation with timeout
2020-12-17 20:32:32 -05:00
zach-com
9856c7b87a
Replace impl From
block
2020-12-17 17:55:22 -05:00
zach-com
ef95f34c34
cargo fmt
2020-12-16 22:17:21 -05:00
zach-com
ee65811272
Avoid unnecessary function call
2020-12-16 15:56:16 -05:00
zach-com
f655c3b74c
Address pull request comments
2020-12-16 15:26:06 -05:00
Steven Fackler
d1ac251b79
Merge pull request #713 from jeff-davis/doc-fixup
...
Documentation fixup.
2020-12-15 19:56:39 -05:00
Jeff Davis
c573edbdfb
Documentation fixup.
2020-12-15 16:50:26 -08:00
zach-com
07d9fb2ed6
Support connection validation with timeout
2020-12-11 13:47:39 -05:00
Steven Fackler
8f2ae8647b
Merge pull request #708 from fanatid/patch-1
...
Fix tokio features for runtime feature in the docs
2020-12-01 12:31:15 -05:00
Kirill Fomichev
5099799166
return used features
2020-12-01 19:03:02 +03:00
Kirill Fomichev
fa8fb83ec8
Fix tokio features for runtime feature in the docs
2020-12-01 18:20:37 +03:00
Steven Fackler
90e8497a27
Merge pull request #706 from jeff-davis/readme-test
...
Add instructions for running tests.
2020-11-30 13:31:10 -05:00
Jeff Davis
55dddc5c74
Add instructions for running tests.
2020-11-30 09:30:12 -08:00
Steven Fackler
c5ae79ab92
Merge pull request #702 from jeff-davis/escape
...
Add escape_identifier() and escape_literal().
2020-11-29 12:48:38 -05:00
Jeff Davis
aadf9420ef
Add escape_identifier() and escape_literal().
2020-11-28 22:35:41 -08:00
Steven Fackler
83ffcf8639
Merge pull request #697 from sfackler/dependabot/cargo/pin-project-lite-0.2
...
Update pin-project-lite requirement from 0.1 to 0.2
2020-11-17 08:34:24 -05:00
dependabot-preview[bot]
235dfeb95a
Update pin-project-lite requirement from 0.1 to 0.2
...
Updates the requirements on [pin-project-lite](https://github.com/taiki-e/pin-project-lite ) to permit the latest version.
- [Release notes](https://github.com/taiki-e/pin-project-lite/releases )
- [Changelog](https://github.com/taiki-e/pin-project-lite/blob/master/CHANGELOG.md )
- [Commits](https://github.com/taiki-e/pin-project-lite/compare/v0.1.0...v0.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-17 13:29:23 +00:00
Steven Fackler
fb07eaff48
Merge pull request #692 from nguiard/master
...
Fix unix socket location in docs (/var/run/postgresql instead of /var/lib/postgresql)
2020-11-11 07:08:53 -05:00
Nicolas Guiard
c4b1f5ab5c
Fix unix socket location in docs (/var/run/postgresql instead of /var/lib/postgresql)
2020-11-11 11:14:28 +01:00
Steven Fackler
5ad3c9a139
Add back keepalives config handling
...
Also fix connection timeouts to be per-address
2020-11-05 21:14:56 -05:00
Steven Fackler
bbf31696bb
Cleanups
2020-10-27 19:45:55 -04:00
Steven Fackler
1fcd04d03a
Merge pull request #684 from vemoo/better-params-iter
...
better api for passing parameters to `*_raw` methods
2020-10-27 19:20:06 -04:00
Steven Fackler
46b4b8008c
Update postgres-types/src/lib.rs
2020-10-27 19:16:20 -04:00
Bernardo Uriarte Blanco
996f063380
map to convert to &dyn ToSql
is not longer necessary
2020-10-27 20:31:15 +01:00
Bernardo Uriarte Blanco
42dcfb584a
seal BorrowToSql
2020-10-27 20:23:57 +01:00
Bernardo Uriarte Blanco
0e494a08a9
change rest of *_raw
methods to use BorrowToSql
2020-10-27 18:08:23 +01:00
Bernardo Uriarte Blanco
0eab5fad70
make iterators from &dyn ToSql
or T: ToSql
work as parameters
2020-10-26 20:59:28 +01:00
Steven Fackler
5e065c36cd
Release v0.18.1
2020-10-19 20:02:01 -04:00
Steven Fackler
ecc0acbab6
Merge pull request #678 from sfackler/fix-send
...
Make postgres::Client Send again
2020-10-19 20:01:31 -04:00
Steven Fackler
db90323b08
Make postgres::Client Send again
...
Closes #677
2020-10-19 19:58:41 -04:00
Steven Fackler
49ecba4d6d
Merge pull request #675 from sfackler/dependabot/cargo/env_logger-0.8
...
Update env_logger requirement from 0.7 to 0.8
2020-10-19 09:40:39 -04:00
Steven Fackler
a4fd89ea02
Merge pull request #676 from sfackler/dependabot/cargo/hmac-0.10
...
Update hmac requirement from 0.9 to 0.10
2020-10-19 09:40:18 -04:00
dependabot-preview[bot]
a2ab2aab5b
Update hmac requirement from 0.9 to 0.10
...
Updates the requirements on [hmac](https://github.com/RustCrypto/MACs ) to permit the latest version.
- [Release notes](https://github.com/RustCrypto/MACs/releases )
- [Commits](https://github.com/RustCrypto/MACs/compare/hmac-v0.9.0...hmac-v0.10.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-19 13:24:08 +00:00
dependabot-preview[bot]
6561d8129a
Update env_logger requirement from 0.7 to 0.8
...
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/master/CHANGELOG.md )
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.7.0...v0.8.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-19 13:23:29 +00:00
Steven Fackler
ec1c4a5c65
Release postgres-openssl v0.4.0
2020-10-17 15:20:32 -04:00
Steven Fackler
473562175f
Release postgres-native-tls v0.4.0
2020-10-17 15:18:28 -04:00
Steven Fackler
cc77ad18d5
Release postgres v0.18.0
2020-10-17 15:16:56 -04:00
Steven Fackler
12e2f03b53
Release tokio-postgres v0.6.0
2020-10-17 15:06:10 -04:00
Steven Fackler
7fd04e7a21
Release postgres-types v0.1.3
2020-10-17 15:00:47 -04:00
Steven Fackler
3f350680d5
Release postgres-protocol v0.5.3
2020-10-17 14:54:00 -04:00
Steven Fackler
3a26c926f2
Merge pull request #672 from sfackler/tokio-03
...
Upgrade to tokio 0.3
2020-10-17 09:57:07 -04:00
Steven Fackler
b30182962f
bump ci image
2020-10-17 09:52:46 -04:00
Steven Fackler
2689070d19
Upgrade to tokio 0.3
2020-10-17 09:49:45 -04:00
Steven Fackler
91144b91e3
Merge pull request #669 from pymongo/master
...
Make postgres protocol version value more readable
2020-10-17 08:04:08 -04:00
wuaoxiang
7443982368
Make postgres protocol version value more readable
2020-10-17 11:33:21 +08:00
Steven Fackler
d1f9d6d802
fix clippy
2020-10-15 21:14:13 -04:00
Steven Fackler
510062238d
Merge pull request #662 from danburkert/json-derive
...
derive Clone, PartialEq and Eq for postgres_types::Json
2020-10-04 21:11:24 -04:00
Dan Burkert
aadd90854d
derive Clone, PartialEq and Eq for postgres_types::Json
...
It's a bit unwieldy using the `Json` type in structs without this.
`Json` is 'just data', so I think it's usually appropriate to consider
instances to be cloneable and testable for equivalence.
2020-10-02 15:56:50 -07:00