Loïc Carr
523f650340
feat(postgres) Add support for std::time::Duration, time::Duration & chrono::Duration
2020-06-27 17:42:46 -07:00
Loïc Carr
71cb68b2f4
feat(postgres) Create bindings for PgInterval
2020-06-27 17:36:06 -07:00
Tim Murison
72c4e040bc
Require a mutable reference to self
2020-06-23 17:03:48 -07:00
Tim Murison
cac3f193d7
Adds a method get the underlying sqlite3 pointer
2020-06-23 17:03:48 -07:00
Zachery Gyurkovitz
2adfb1926a
misc: Don't deadname myself in the authors
2020-06-23 13:10:03 -07:00
Zachery Gyurkovitz
84e8ed0d4c
fix: bigdecimal decoding ob1 for positive weight multiples of 4
2020-06-23 13:10:03 -07:00
Ryan Leckey
f85920acaf
fix(postgres): ignore more harmless messages in execute
2020-06-21 22:09:00 -07:00
Austin Bonander
36a53b44cd
fix(macros): don't emit typechecking code for explicit type overrides on bind params
2020-06-21 06:06:53 -07:00
Austin Bonander
f2515e2472
feat(macros): support nullable column override
2020-06-21 06:06:53 -07:00
Austin Bonander
897c8f429a
doc(macros): document type override feature for macros
2020-06-21 06:06:53 -07:00
Austin Bonander
7b37ebde0f
fix(macros): forbid casts to _
in bind parameters
2020-06-21 06:06:53 -07:00
Austin Bonander
029ba24cad
chore(macros): add tests for bind parameter overrides
2020-06-21 06:06:53 -07:00
Austin Bonander
7d3d708d92
chore(macros): add test for column overrides for SQLite
2020-06-21 06:06:53 -07:00
Austin Bonander
1a250976ba
chore(macros): add test for column overrides for MySQL
2020-06-21 06:06:53 -07:00
Austin Bonander
14023e8e6e
feat(macros): support wildcard in bind param type overrides
2020-06-21 06:06:53 -07:00
Austin Bonander
eb831382e5
feat(macros): type override annotations for columns
2020-06-21 06:06:53 -07:00
Ryan Leckey
efc4df3eea
test: state only version 3 for docker-compose
2020-06-21 04:35:28 -07:00
Ryan Leckey
8800a40979
test: tokio or actix should import tokio in pool_smoke_test
2020-06-21 04:34:29 -07:00
Ryan Leckey
3dc067f031
fix: downgrade num-bigint due to conflicting version in rsa
2020-06-21 04:13:45 -07:00
Ryan Leckey
ec6b4be7fb
fix: rename Decode::accepts to Type::compatible for MSSQL / bool
2020-06-21 04:13:33 -07:00
Ryan Leckey
9abdd7e408
style: rustfmt
2020-06-21 04:08:17 -07:00
Ryan Leckey
7c4c185698
chore: update dependencies
2020-06-21 03:55:31 -07:00
Ryan Leckey
4448c0e629
feat: add should_flush and only spawn on drop for PoolConnection if we need to flush
2020-06-21 03:55:31 -07:00
Ryan Leckey
d76002e110
postgres: ignore more messages during execution if they are deemed not relevant
2020-06-21 03:55:31 -07:00
Ryan Leckey
f8dc7284b9
chore: update dependencies
2020-06-21 03:55:31 -07:00
Ryan Leckey
e7e2f5b37a
fix: implement transparent Serialize and Deserialize for Json<_>
2020-06-21 03:55:31 -07:00
Ryan Leckey
93728a051c
fix: impl Deserialize for Json for MySQL instead of DeserializeOwned
2020-06-21 03:55:31 -07:00
Peter Maatman
90242494a8
test: expose missing trait bounds for Json<Vec<x>>
2020-06-21 03:55:31 -07:00
Ryan Leckey
8b4ef3f0b8
docs: add back type module documentation
2020-06-21 03:55:31 -07:00
Ryan Leckey
21717b47a0
fix: AsyncStream should use a zero-capacity stream to ensure we run in lock-step
2020-06-21 03:55:31 -07:00
Ryan Leckey
6cfe5ac811
refactor: tweak type name display to use TypeInfo::name
2020-06-21 03:55:31 -07:00
Ryan Leckey
aaa475cc33
refactor: move Decode::accepts to Type::compatible
2020-06-21 03:55:31 -07:00
Ryan Leckey
5ac7601fe2
docs: extend documentation on Encode/Decode
2020-06-21 03:55:31 -07:00
Ryan Leckey
11e21e201c
feat: add a name method to TypeInfo
2020-06-21 03:55:31 -07:00
Ryan Leckey
e3adb88ab5
feat: disassociate Type from Decode further and require only Decode for FromRow + Row + Value
2020-06-21 03:55:31 -07:00
Austin Bonander
37e59f1494
doc(readme): note requirement of offline
feature
...
for `cargo sqlx prepare`
2020-06-17 12:50:56 -07:00
Austin Bonander
1a83f1bdc1
fix(format): fix formatting in sqlx-cli/README.md
2020-06-17 12:46:57 -07:00
Daniel Akhterov
639e10248e
feat: add boolean support to sqlx-macros/mssql
2020-06-16 13:40:53 -07:00
Daniel Akhterov
6a26e341fb
Merge pull request #413 from launchbadge/feature/mssql-bit-support
...
Feature: implement `BIT` support in MSSQL
2020-06-15 22:55:00 -07:00
Daniel Akhterov
80d545109b
feat: implement BIT
support in MSSQL
2020-06-15 22:49:33 -07:00
Bo Jeanes
956721c96c
Don't leak txns on explicit commit/rollback
...
Fixes #409
2020-06-14 20:03:50 -07:00
Ryan Leckey
e10c7c723f
refactor: remove impl of Encode::produces where it doesn't make sense
...
produces is meant as a value-dependent override, it only makes sense
currently for MSSQL or in generic contexts
2020-06-13 10:18:04 -07:00
Ryan Leckey
847e0b6b6b
fix(mysql): update usage of Digest and remove OAEP module in favor of the RSA crate
2020-06-13 08:55:24 -07:00
Ryan Leckey
c2ce35fc06
fix(postgres): update usage of Digest
2020-06-13 08:54:52 -07:00
Ryan Leckey
e2ac01e190
chore: update dependencies
2020-06-13 08:54:38 -07:00
Ryan Leckey
d73434a19e
test: enable postgres/derives test
2020-06-12 15:33:19 -07:00
Ryan Leckey
c9f3e1adca
feat(postgres): add support for built-in range types and allow derives to handle custom range types
...
Co-authored-by: Caio <c410.f3r@gmail.com>
2020-06-12 15:33:19 -07:00
Ryan Leckey
fedd883d91
style: rustfmt
2020-06-12 15:33:19 -07:00
Caio
d4329e98d4
refactor: prepare to support postgres ranges
...
- Remove Type bound from Encode + Decode which removes the defaults
for produces() and accepts(). This allows custom type implementations
to be more flexible.
2020-06-12 15:33:19 -07:00
Daniel Akhterov
98a0de2cfd
feat: implement Order
message type
2020-06-11 18:58:06 -07:00