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
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
Paul Hemberger
ee5a139028
add in to param parsing; update doc
2023-03-24 13:11:18 -04:00
Paul Hemberger
b4c05f4f81
wire through knob for TCP user timeout
2023-03-24 11:46:20 -04:00
Steven Fackler
70616712a4
Merge pull request #1005 from sfackler/dependabot/cargo/syn-2.0
...
Update syn requirement from 1.0 to 2.0
2023-03-20 20:09:14 -04:00
Steven Fackler
e9b5a04a4f
Fix build
2023-03-20 20:01:56 -04:00
dependabot[bot]
1e1f90786d
Update syn requirement from 1.0 to 2.0
...
Updates the requirements on [syn](https://github.com/dtolnay/syn ) to permit the latest version.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.0...2.0.3 )
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-20 14:06:03 +00:00
Steven Fackler
7cd7b187a5
Rename accessor
2023-02-26 16:44:25 -05:00
Steven Fackler
3007dd82c6
Merge pull request #1000 from fakeshadow/protocol/export_bytes
...
export Bytes type through DataRowBody::storage_bytes method.
2023-02-26 16:43:47 -05:00
Steven Fackler
4f540693cb
Merge pull request #999 from SvizelPritula/master
...
Make incorrect number of paramaters an error
2023-02-25 13:13:28 -05:00
Benjamin Swart
7c7c80dcaa
Make incorrect number of paramaters an error
2023-02-25 18:24:35 +01:00
Steven Fackler
63c09eb083
fix workflow deprecations
2023-02-25 10:19:35 -05:00
Steven Fackler
842eacefc8
fix ci
2023-02-25 10:10:04 -05:00
fakeshadow
eb086d30a3
export Bytes type through DataRowBody::storage_bytes method.
2023-02-24 09:56:05 +08:00
Steven Fackler
4bae134f50
Merge pull request #985 from risinglightdb/skyzh/raw-stream
...
feat: add `rows_affected` to RowStream
2023-01-19 21:30:34 -05:00
Alex Chi
b1842390c3
update comments
...
Signed-off-by: Alex Chi <iskyzh@gmail.com>
2023-01-16 22:54:20 -05:00