Commit Graph

2737 Commits

Author SHA1 Message Date
1bbe666003
fix: AAAAA 2023-07-28 17:09:51 -05:00
0d8a63cdfc
fix: check_notify 2023-07-27 15:18:43 -05:00
4bb7b4997f
fix: derives 2023-07-26 21:54:56 -05:00
620add44de
fix: block -> check 2023-07-23 23:05:31 -05:00
039be77d99
fix: add notifications to generic client 2023-07-23 21:26:45 -05:00
Orion Kindel
c7abba1e13
feat: compile-time assoc of rust <> postgres types 2023-07-07 12:17:52 -05:00
Orion Kindel
6c6a266c14
fix: dx changes 2023-07-06 22:29:28 -05:00
Steven Fackler
790af54a0f
Merge pull request #1008 from JaydenElliott/feature/rename_all_attr
added `rename_all` container attribute for enums and structs
2023-06-10 07:36:30 -07:00
Steven Fackler
6f19bb9000
clean up wasm32 test 2023-06-10 10:21:34 -04:00
Steven Fackler
852869dcda
Merge pull request #1040 from zebp/feat/wasm-support
feat: add support for wasm
2023-06-10 07:10:21 -07:00
Zeb Piasecki
635bac4665 specify js feature for wasm ci 2023-06-09 11:15:06 -04:00
Zeb Piasecki
1f8fb7a16c ignore dev deps in wasm ci 2023-06-07 21:25:57 -04:00
Zeb Piasecki
edc7fdecfb gate wasm support behind feature flag 2023-06-07 20:53:16 -04:00
Zeb Piasecki
2230e88533 add CI job for checking wasm
Adds a CI job for ensuring the tokio-postgres crate builds on
the wasm32-unknown-unknown target without the default features.
2023-06-03 17:32:48 -04:00
Zeb Piasecki
64bf779f7c feat: add support for wasm
Adds support for compiling to WASM environments that provide JS via
wasm-bindgen. Because there's no standardized socket API the caller must
provide a connection that implements AsyncRead/AsyncWrite to
connect_raw.
2023-06-03 17:08:59 -04:00
Steven Fackler
762f67fc14
Merge pull request #1037 from sfackler/dependabot/cargo/criterion-0.5
Update criterion requirement from 0.4 to 0.5
2023-05-24 07:08:04 -07:00
dependabot[bot]
40954901a4
Update criterion requirement from 0.4 to 0.5
Updates the requirements on [criterion](https://github.com/bheisler/criterion.rs) to permit the latest version.
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bheisler/criterion.rs/compare/0.4.0...0.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-24 14:01:30 +00:00
Steven Fackler
22469d6b38
Merge pull request #1029 from laptou/master
allow `BorrowToSql` for non-static `Box<dyn ToSql>`
2023-05-07 13:52:52 -04:00
Steven Fackler
066b466f44
Update ci.yml 2023-05-07 13:48:50 -04:00
Ibiyemi Abiodun
80adf0448b
allow BorrowToSql for non-static Box<dyn ToSql> 2023-05-07 13:37:52 -04:00
Steven Fackler
23d2524f9b
Merge pull request #1028 from sfackler/int2vector
Fix int2vector serialization
2023-05-01 19:48:30 -04:00
Steven Fackler
d92b3b0a63
Fix int2vector serialization 2023-05-01 19:45:54 -04:00
Steven Fackler
8449e4d9ea
Merge pull request #1027 from sfackler/oidvector
Fix serialization of oidvector
2023-05-01 19:39:54 -04:00
Steven Fackler
e71335ee43
fix serialization of oidvector 2023-05-01 19:33:49 -04:00
Steven Fackler
8b9b5d0388
Merge pull request #1018 from BastiDood/str-to-sql-refactor
refactor(types): improve readability of `impl ToSql for &str`
2023-04-07 10:19:26 -04:00
Basti Ortiz
98abdf9fa2
refactor(types): prefer matches! macro for readability 2023-04-07 21:43:25 +08:00
Basti Ortiz
a67fe643a9
refactor(types): simplify <&str as ToSql>::to_sql 2023-04-07 21:39:37 +08:00
Steven Fackler
7dd6813fa8
Merge pull request #1014 from niklasha/openbsd-missing-tcp-keepalive-options
OpenBSD misses some TCP keepalive options
2023-04-04 14:42:59 -04:00
Niklas Hallqvist
e59a165241
rustfmt 2023-04-04 15:43:39 +02:00
Niklas Hallqvist
45d51d708c
OpenBSD misses some TCP keepalive options 2023-04-04 14:27:45 +02:00
Steven Fackler
b19fdd4b7e
Fix postgres-protocol constraint
Closes #1012
2023-03-30 19:30:40 -04:00
jaydenelliott
f4b181a201 Rename_all attribute documentation 2023-03-28 22:25:50 +11:00
Steven Fackler
65a68dfa46
Release postgres v0.19.5 2023-03-27 19:27:16 -04:00
Steven Fackler
7d5962ef3f
Add RowIter::rows_affected 2023-03-27 19:24:48 -04:00
Steven Fackler
cf9747e3e5
Add tcp_user_timeout to postgres 2023-03-27 19:20:24 -04:00
Steven Fackler
117e387a3e
Release tokio-postgres v0.7.8 2023-03-27 19:14:49 -04:00
Steven Fackler
54390eb3fe
Release postgres-derive v0.4.4 2023-03-27 19:04:38 -04:00
Steven Fackler
a46796798a
Release postgres-protocol v0.6.5 2023-03-27 19:02:39 -04:00
Steven Fackler
5be97d9559
Release postgres-types v0.2.5 2023-03-27 18:59:29 -04:00
Steven Fackler
39fa1ad39e
Merge pull request #1003 from sfackler/dependabot/cargo/socket2-0.5
Update socket2 requirement from 0.4 to 0.5
2023-03-27 18:26:30 -04:00
Steven Fackler
9c0d2dddc4
Update ci.yml 2023-03-27 18:14:05 -04:00
Steven Fackler
a205d23141
Update Cargo.toml 2023-03-27 18:04:52 -04:00
dependabot[bot]
58f06610cc
Update socket2 requirement from 0.4 to 0.5
Updates the requirements on [socket2](https://github.com/rust-lang/socket2) to permit the latest version.
- [Release notes](https://github.com/rust-lang/socket2/releases)
- [Changelog](https://github.com/rust-lang/socket2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/socket2/compare/v0.4.0...v0.5.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-27 21:08:40 +00:00
Steven Fackler
c85b2c1dbb
Merge pull request #1007 from pH14/add-tcp-user-timeout
wire through knob for TCP user timeout
2023-03-27 16:56:04 -04:00
Paul Hemberger
62a443222c use correct error type 2023-03-27 16:47:58 -04:00
Paul Hemberger
a9967c05ff docs: mention sys default if 0 2023-03-27 16:47:48 -04:00
jaydenelliott
d509b3bc52 Replaced case conversion with heck 2023-03-27 18:45:05 +11:00
jaydenelliott
bc8ad8aee6 Distinguish between field and container attributes when parsing 2023-03-27 18:22:53 +11:00
jaydenelliott
071dfa3f3b added a rename_all container attribute for enums and structs 2023-03-26 20:33:29 +11:00
Paul Hemberger
ee5a139028 add in to param parsing; update doc 2023-03-24 13:11:18 -04:00