1585 Commits

Author SHA1 Message Date
Alan D. Salewski
a61da5ee0d gh actions: job 'mysql': use runtime feature name matrix for 'cargo build' step 2020-11-12 13:20:29 -08:00
Alan D. Salewski
9ef2e066dc gh actions: job 'postgres': use runtime feature name matrix for 'cargo build' step 2020-11-12 13:20:29 -08:00
Alan D. Salewski
a9d0a842fb gh actions: use runtime feature name matrix for unit tests 2020-11-12 13:20:29 -08:00
Alan D. Salewski
331e7bc564 README.md: group 'runtime-foo-*' features together by runtime 2020-11-12 11:39:19 -08:00
Alan D. Salewski
548d11cc22 README.md: remove duplicate feature entry: 'runtime-tokio-native-tls' 2020-11-12 11:39:19 -08:00
Ryan Leckey
f20da8e663 prepare v0.4.1 2020-11-12 08:57:14 -08:00
Ryan Leckey
4aa2f37140 select a runtime for docs.rs 2020-11-12 08:57:03 -08:00
Ryan Leckey
e3d7e542c1 add a tbd section for 0.4.0 in the changelog 2020-11-12 07:54:51 -08:00
Ryan Leckey
f2d55bc049 sqlx-cli: prepare v0.2.0 v0.4.0 2020-11-12 07:50:31 -08:00
Ryan Leckey
99373b8443 chore: update lockfile 2020-11-12 07:46:22 -08:00
Ryan Leckey
0b03dc6762 prepare v0.4.0 2020-11-12 07:46:13 -08:00
Ryan Leckey
07f4b98bcc sqlx-rt: prepare v0.2.0 2020-11-12 07:44:44 -08:00
Ryan Leckey
e1166ae21b sqlx-rt: prepare v0.1.2 2020-11-12 07:43:15 -08:00
Ryan Leckey
7eee12047b chore: update lockfile 2020-11-12 07:42:50 -08:00
Ryan Leckey
f22a3f5a5d remove default runtime, you must now always select a runtime 2020-11-12 07:42:31 -08:00
Ryan Leckey
12da5ba534 fix: usage of migrate::run now takes two parameters 2020-11-12 07:38:54 -08:00
Jonas Platte
1ed75ba5f0 Support accept_invalid_certs & accept_invalid_hostnames with rustls
Co-authored-by: BlackHoleFox <blackholefoxdev@gmail.com>
2020-11-12 07:32:59 -08:00
Jonas Platte
a68872a35a Test rustls on CI 2020-11-12 07:32:59 -08:00
Jonas Platte
62adfe33d5 Update Cargo.lock 2020-11-12 07:32:59 -08:00
Jonas Platte
b14266ba2e Add rustls support 2020-11-12 07:32:59 -08:00
Jonas Platte
9298c88b87 Refactor TLS code to be a bit easier to read 2020-11-12 07:32:21 -08:00
Jonas Platte
cd44b5eb43 De-duplicate mysql & postgres TLS code 2020-11-12 07:32:21 -08:00
Jonas Platte
f28ab22748 Remove unused re-export of native_tls::Error 2020-11-12 07:32:21 -08:00
Jonas Platte
855a0f8e41 Reorder re-exports in sqlx-rt/lib.rs
so they finally are all in the right sections
2020-11-12 07:32:21 -08:00
Jonas Platte
a161bcba05 Rename cargo features in preparation for rustls support 2020-11-12 07:32:21 -08:00
Raphaël Thériault
04f68632b4 JSON+macros example using overrides 2020-11-12 07:21:54 -08:00
Ryan Leckey
b27ad1193b Merge branch 'yerke-mysql-non-ascii-credentials' 2020-11-12 07:21:19 -08:00
Ryan Leckey
b8bce0a541 Merge branch 'mysql-non-ascii-credentials' of https://github.com/yerke/sqlx into yerke-mysql-non-ascii-credentials 2020-11-12 07:21:10 -08:00
Austin Bonander
cebfcce1b5 docs: WIP improve docs about Pool
Signed-off-by: Austin Bonander <austin@launchbadge.com>
2020-11-12 07:15:08 -08:00
Stuart Hinson
c91eb2b04a use default_value for migrations source 2020-11-12 07:13:01 -08:00
Stuart Hinson
a4729cdcc8 Add source param to command line 2020-11-12 07:13:01 -08:00
Jakob Truelsen
9d71a7f372 Allow configuring the log level of query logging 2020-11-12 07:06:34 -08:00
David Yamnitsky
12b4250454 support sqlite bind parameters of the form $NNN 2020-11-06 15:08:08 -08:00
Yerkebulan Tulibergenov
b2ee575e4f Merge branch 'master' into mysql-non-ascii-credentials 2020-11-04 22:50:03 -08:00
dragonn
7726e16292 Fixing don't parse all attributes as Meta 2020-11-04 17:11:47 -08:00
Julius de Bruijn
a0007b4e98 Fixing BigDecimal conversion for PostgreSQL
Now working properly with numbers, such as `0.01` and `0.012`.
2020-11-04 17:09:01 -08:00
Julius de Bruijn
25e72925fa Update to bigdecimal 0.2 and num-bigint 0.3 2020-11-04 17:09:01 -08:00
Julius de Bruijn
333ee69f63 A test to reveal a bug with BigDecimal and PostgreSQL 2020-11-04 17:09:01 -08:00
Marcin Kaźmierczak
1d9ab5245c use futures_channel::oneshot in sqlite worker 2020-11-03 22:51:42 -08:00
Ivan Tham
6a5c54be70 Add context of where to put the offline feature 2020-11-03 22:50:37 -08:00
Eric Semeniuc
c45770da4e Fix grammar on readme 2020-11-03 22:50:15 -08:00
Eric Semeniuc
78a5629d5a Add runtime-actix and migrate features to readme 2020-11-03 22:50:15 -08:00
Jonas Platte
4fda8be005 Fix documentation for SQLX_OFFLINE environment variable 2020-10-29 22:21:57 -07:00
Jonas Platte
85b5ab0fb3 Fix cfg-specific unused lints 2020-10-29 22:21:27 -07:00
Jonas Platte
abdd29f145 Store query metadata only the current build is online
This should help with conflicting writes in some cases, but even without
issues like that it reduces useless I/O.
2020-10-29 22:21:27 -07:00
Jonas Platte
139704f264 Pass SQLX_OFFLINE=false to rustc in prepare
Without this, `cargo sqlx prepare` is just an expensive no-op and
`cargo sqlx prepare --check` checks `sqlx-data.json` against itself.
2020-10-29 22:21:27 -07:00
Jonas Platte
f45f9ae8ed Fix a typo 2020-10-29 22:21:27 -07:00
Rolf Kreibaum
81ef89401e Fix typo: add missing &pool parameter 2020-10-29 20:08:09 -07:00
Austin Bonander
e44031676f doc: improve docs for Type and FromRow derives 2020-10-29 18:33:14 -07:00
Timofey Martynov
5f793c6e95 Add ranges and range arrays types 2020-10-26 01:35:12 -07:00