Austin Bonander
fdbfc5dfc3
Prepare 0.5.10 release ( #1603 )
...
* fix(cli): change new `rustls` and `native-tls` features to use correct runtime feature
* chore: upgrade SQLx crates to 0.5.10, upgrade all dependencies to latest versions
chore(cli): upgraded `clap` to `3.0.0-rc.9`
* fix(tests/sqlite): ignore `issue_1467()` as spuriously failing
I'm well aware of the principle that a spuriously failing test is a failing test, but even though I have it outputting the seed used with a reproducible PRNG, I can't reproduce the failures locally, so 🤷 .
* chore: add CHANGELOG entry for 0.5.10
2021-12-29 17:25:49 -08:00
Austin Bonander
63ca2ccc6c
refactor(sqlite): make background thread responsible for all FFI calls ( #1551 )
2021-12-29 15:23:02 -08:00
Paolo Barbolini
fca866d0bc
Update itoa and dirs ( #1601 )
2021-12-29 11:56:58 -08:00
Paolo Barbolini
ce572bcee4
Update rsa crate to 0.5 ( #1572 )
...
* Update rsa crate to 0.5
* Don't do pem decoding ourselves
2021-12-20 17:58:37 -08:00
David Yamnitsky
8299687878
bump libsqlite3-sys to 0.23.1 ( #1535 )
2021-11-12 14:37:19 -08:00
Austin Bonander
9abe9b3ac5
prepare 0.5.9 hotfix release ( #1469 )
2021-10-01 15:52:52 -07:00
Austin Bonander
1b5dd6514b
preparing 0.5.8 release ( #1466 )
...
* preparing 0.5.8 release
* fix warnings before release
2021-10-01 14:45:25 -07:00
Paolo Barbolini
c2e04a1f3c
Upgrade hmac to 0.11 ( #1443 )
2021-09-23 12:05:31 -07:00
Austin Bonander
8b30f3059b
Fix a panic in the worker thread when dropping the connection while SqliteRow
s still exist ( #1450 )
...
* chore(sqlite): add repro for #1419
* fix(sqlite): hold a reference to the connection in `SqliteRow`
fixes #1419
2021-09-22 16:55:22 -07:00
Paolo Barbolini
efd08cc4b3
Reduce futures-util features ( #1427 )
...
* Reduce futures-util features
* Remove unused futures crate from sqlx-macros
2021-09-08 12:36:05 -07:00
David James
ad81e35f28
Use promptly instead of dialoguer ( #1410 )
...
See #1409
Co-authored-by: David James <davidcjames@gmail.com>
2021-08-30 14:10:53 -07:00
Austin Bonander
3749e0ea37
chore: prepare 0.5.7 (hotfix) release ( #1394 )
2021-08-20 17:14:42 -07:00
Austin Bonander
6bb1c716bd
preparing 0.5.6 release ( #1382 )
...
* fix(pool): reenable connection reaper
* fix warnings
* chore: bump published crates to 0.5.6
* chore: update CHANGELOG.md for 0.5.6
2021-08-17 12:44:24 -07:00
Austin Bonander
38435ca647
fix(cli): pin clap_derive
version ( #1381 )
...
When `clap_derive 3.0.0-beta.4` released, new invocations of `cargo install sqlx-cli` would try to compile that against `clap 3.0.0-beta.2` which caused some breakages.
Until `clap 3.0.0` proper is released, we need to pin both versions to insure against potential breakages from automatic upgrades.
closes #1378
2021-08-16 16:51:31 -07:00
Rafael Epplée
e77219f7c7
Add docs for fetch_all, example for postgres transactions ( #1255 )
...
* reference fetch_all() in query macros
* add example for using transactions in postgres
2021-08-16 16:33:42 -07:00
Atkins
55c603e9e7
build(deps): bump git2 from 0.13.19 to 0.13.20 ( #1362 )
...
Signed-off-by: Atkins Chang <atkinschang@gmail.com>
2021-08-07 01:48:10 -07:00
Austin Bonander
531740550f
fix(pool): reimplement pool internals with futures-intrusive
( #1320 )
2021-07-21 16:28:44 -07:00
nomick
be189bd11e
Support MACADDR in Postgres ( #1329 )
2021-07-19 16:55:53 -07:00
Akhil Velagapudi
0abbcc510f
Update crc 1.8.1 -> 2.0.0 ( #1256 )
2021-07-16 15:25:32 -07:00
Ryan Leckey
694a2ac478
release: v0.5.5
2021-05-24 09:34:34 -07:00
Ryan Leckey
5d9c292132
release: v0.5.4
2021-05-22 16:38:54 -07:00
Eamon Caton
b391d4878e
Revert webpki version bump to keep compatability with tokio-rustls feature
2021-05-22 11:03:01 -07:00
Ryan Leckey
13f7c7124a
release: v0.5.3
2021-05-21 17:27:15 -07:00
Ryan Leckey
f7775f7fde
release: 0.5.2
2021-04-15 18:40:46 -07:00
Ryan Leckey
633a662752
chore: update dependencies
2021-04-09 00:31:07 -07:00
Ryan Leckey
98cd619157
style: rustfmt
2021-04-09 00:24:14 -07:00
Ryan Leckey
cbe820760f
release: 0.5.1
2021-02-04 09:16:11 -08:00
Ryan Leckey
efccd6c9b8
chore: update sqlx-rt to 0.3
2021-02-04 09:15:00 -08:00
Ryan Leckey
d07ab853ba
chore: update lockfile
2021-02-04 06:33:54 -08:00
Ryan Leckey
a23013e9e5
chore: update lockfile
2021-02-04 05:54:20 -08:00
Rob Ede
1803020650
update lockfile
2021-02-04 04:51:22 -08:00
Rob Ede
e197d5b0e2
rt: update to actix-rt v2
2021-02-04 04:51:22 -08:00
Jonas Platte
9f8f0650c0
rt: Disable macros in actix and tokio runtimes
2021-01-20 21:49:46 -08:00
Jonas Platte
3a8c89babf
Upgrade actix-rt to 2.0.0-beta.2
2021-01-20 21:49:46 -08:00
Jonas Platte
cdafc8ae17
Upgrade async runtime dependencies
...
Co-authored-by: Josh Toft <joshtoft@gmail.com>
Co-authored-by: Philip A Reimer <antreimer@gmail.com>
2021-01-20 21:49:46 -08:00
Jonas Platte
0758ffd10e
Remove cargo_metadata dependency
...
It was not pulling its weight.
Just look at that Cargo.lock diff!
2021-01-13 23:05:56 -08:00
Jonas Platte
5d564167ca
sqlx-macros: Replace lazy_static by once_cell
2021-01-13 23:05:56 -08:00
Ryan Leckey
565d0a91a3
release: v0.4.2
2020-12-19 01:07:50 -08:00
Ryan Leckey
46d30d2b5c
fix: rollback another update for async-rustls
2020-12-19 00:41:43 -08:00
Ryan Leckey
2d3b9e4909
fix: rollback (another) update to rustls
2020-12-19 00:37:45 -08:00
Ryan Leckey
7bbf89c301
fix: rollback a couple package updates (forgot to check tokio)
2020-12-19 00:34:10 -08:00
Ryan Leckey
c410f88bcd
chore: update several dependencies
2020-12-19 00:26:06 -08:00
Ryan Leckey
4cf1f304f9
chore: update lockfile
2020-12-19 00:08:39 -08:00
Ryan Leckey
c24460d906
chore: update lockfile
2020-12-18 21:58:12 -08:00
Ryan Leckey
107d0ff870
Merge branch 'joshtriplett-types'
2020-12-18 21:57:48 -08:00
Ryan Leckey
716517a84f
chore: add bstr and git2 to "all-types" feature
2020-12-18 21:56:12 -08:00
Matt Paul
b070aae909
Write test
2020-12-18 21:33:53 -08:00
Matt Paul
9cdbab2d1c
Implement TodoRepo trait
2020-12-18 21:33:52 -08:00
Matt Paul
012d72464e
Make mockable-todos example compile
2020-12-18 21:33:52 -08:00
Ryan Leckey
214d5db494
chore: update lockfile
2020-12-18 21:33:51 -08:00
Joe Grund
21661c2c9c
Support workspaces for offline feature
...
This patch enables having a top-level `sqlx-data.json` file within a
workspace.
It does this by using a full clean / check instead of `cargo rustc`
which fails on a workspace.
A `--merged` flag is introduced to switch to the workspace behavior
Fixes #353 .
Signed-off-by: Joe Grund <jgrund@whamcloud.io>
2020-12-18 21:33:29 -08:00
Matt Paul
0b45dd9e3f
Write test
2020-12-19 05:31:21 +00:00
Matt Paul
a5cede500e
Implement TodoRepo trait
2020-12-19 05:31:21 +00:00
Matt Paul
6f363cf4ea
Make mockable-todos example compile
2020-12-19 05:31:21 +00:00
Ryan Leckey
5e263b2f7a
chore: update lockfile
2020-12-18 21:26:21 -08:00
Joe Grund
3e1da43434
Support workspaces for offline feature
...
This patch enables having a top-level `sqlx-data.json` file within a
workspace.
It does this by using a full clean / check instead of `cargo rustc`
which fails on a workspace.
A `--merged` flag is introduced to switch to the workspace behavior
Fixes #353 .
Signed-off-by: Joe Grund <jgrund@whamcloud.io>
2020-12-19 05:17:07 +00:00
Josh Triplett
71a72e7c67
Add support for git2::Oid (under the git2
feature flag)
...
This allows queries to convert between Oid and SQL data types.
2020-11-21 14:32:29 -08:00
Josh Triplett
47b0973bdb
Add support for bstr::BString (under the bstr
feature flag)
...
This allows queries to convert between BString and SQL data types.
2020-11-21 14:03:11 -08:00
Ryan Leckey
f20da8e663
prepare v0.4.1
2020-11-12 08:57:14 -08:00
Ryan Leckey
f2d55bc049
sqlx-cli: prepare v0.2.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
7eee12047b
chore: update lockfile
2020-11-12 07:42:50 -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
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
Raphaël Thériault
04f68632b4
JSON+macros example using overrides
2020-11-12 07:21:54 -08:00
Julius de Bruijn
25e72925fa
Update to bigdecimal
0.2 and num-bigint
0.3
2020-11-04 17:09:01 -08:00
dignifiedquire
eae3f46237
update libsqlite3-sys to 0.20
2020-10-26 01:34:28 -07:00
Chloe Ross
e816943c60
fix(cli): wait for newlines for confirmations
2020-10-23 19:33:13 -07:00
Joshua Nelson
20d65a8248
Remove hashbrown dependency
...
Hashbrown is now the hashmap used in the standard library, so no need to
pull in an external dependency. This switches to using `AHashMap`
directly.
2020-10-17 02:44:09 -07:00
Jonas Platte
277d0413bc
Bump paste version
2020-10-13 10:04:05 -07:00
Jonas Platte
1935e91e7a
Bump base64 version
2020-10-13 10:04:05 -07:00
Jonas Platte
e00d8aaa5a
Bump clap version
...
This time use an exact version requirement since it would otherwise be
upgraded to later betas automatically.
2020-10-13 10:04:05 -07:00
Jonas Platte
63bfab90c5
Bump hmac version
2020-10-13 10:04:05 -07:00
Jonas Platte
f155bb83e8
Bump hashbrown version
2020-10-13 10:04:05 -07:00
Kramer Hampton
1f41e4c54d
chore: forgot to commit lock file changes
2020-10-13 09:55:51 -07:00
Jonas Platte
e3a71f095c
Delete target/sqlx before invoking cargo in cargo sqlx prepare
2020-10-13 09:51:10 -07:00
吴翱翔
c6fa9047b9
Remove rust_decimal unnecessary num-traits
2020-07-29 07:39:31 -07:00
Julius de Bruijn
1a59d3308a
Pg: Implementing BIT
and VARBIT
using BitVec
2020-07-27 03:36:44 -07:00
Ryan Leckey
e419bf9dfa
remove removed examples from workspace
2020-07-27 02:23:34 -07:00
Ryan Leckey
22f1f93b79
chore: prepare sqlx v0.4.0-beta.1 and sqlx-cli v0.1.0-beta.1
2020-07-27 01:43:02 -07:00
Ryan Leckey
41694f7e7c
chore: prepare sqlx-rt v0.1.1
2020-07-27 01:38:39 -07:00
Ryan Leckey
116fbc1942
chore: prepare sqlx-rt v0.1.0
2020-07-26 23:59:58 -07:00
Ryan Leckey
fe04a1b612
chore: update lockfile
2020-07-26 22:31:28 -07:00
Jonas Platte
adfa2d2161
sqlx-cli: Upgrade console dependency
2020-07-24 07:54:06 -07:00
Julius de Bruijn
0c9bea4ab2
Fixing panics for disabled statement cache
2020-07-24 07:24:23 -07:00
ABGH, C
dad1356147
Remove unused phf dependency
2020-07-22 17:58:23 -07:00
Jonas Platte
d79335d955
Add an openssl-vendored feature to sqlx-cli
...
… to allow building for musl targets
2020-07-21 08:01:55 -07:00
Ryan Leckey
6a70780f45
chore: update lockfile
2020-07-20 23:13:05 -07:00
Ryan Leckey
c7f55f7ed6
chore: update lockfile
2020-07-18 05:43:59 -07:00
Ryan Leckey
6fdb0d534f
chore: update dependencies
2020-07-17 05:36:56 -07:00
Ryan Leckey
61e4a4f566
feat: finish v1 of both cli and embedded migrations
2020-07-12 03:43:55 -07:00
Julius de Bruijn
fd837fce09
Support for rust_decimal::Decimal
2020-07-09 12:32:19 -07:00
Ryan Leckey
8d188c5f1a
feat: expose column information on Row
...
- add database-specific Column types: MySqlColumn, PgColumn, etc.
- add Row::columns() -> &[DB::Column]
- add Row::column(I) and Row::try_column(I)
2020-07-05 03:48:36 -07:00
Austin Bonander
17e88ac1a4
perf: implement pool benchmark, make fairness an option
2020-07-03 05:59:20 -07:00
Ryan Leckey
72700615c8
chore: update lockfile
2020-07-02 22:38:34 -07:00
Ryan Leckey
4bb88e7da2
chore: update dependencies
2020-06-27 05:57:21 -07:00
Ryan Leckey
53ebfcd5ec
chore: update lockfile
2020-06-27 05:56:30 -07:00
Julius de Bruijn
2b6f242a22
LRU statement cache for MySQL
2020-06-24 16:57:06 +02:00