Austin Bonander
a2eceec33b
chore: replace dotenv
with dotenvy
( #2003 )
...
* chore: replace `dotenv` with `dotenvy`
The former appears to be unmaintained and the latter is a drop-in replacement.
* chore: fix all warnings
2022-07-28 14:33:44 -07:00
Marco Neumann
05d64fb722
fix: agree one a single default runtime for the whole workspace ( #1988 )
...
This fixes `cargo check --workspace` and rust-analyzer.
Also see <https://github.com/launchbadge/sqlx/discussions/1956 >.
2022-07-28 13:15:40 -07:00
Joey McKenzie
d6c4eff81a
Add example with external query files ( #1967 )
...
* feat(examples): add files example for postgres
* fix(examples): add missing deps
2022-07-13 14:45:34 -07:00
Austin Bonander
17cebde64a
preparing 0.6.0 release ( #1911 )
...
* preparing 0.6.0 release
* run `cargo update` (not `upgrade`)
2022-06-16 15:53:09 -07:00
Paolo Barbolini
b934f82440
Bump remanining dependencies ( #1807 )
...
Co-authored-by: Austin Bonander <austin@launchbadge.com>
2022-04-15 14:34:48 -07:00
Paolo Barbolini
fc9c9be5e8
Update to edition 2021 ( #1808 )
...
* Update to edition 2021
* Fix running tests
2022-04-15 12:52:00 -07:00
Paolo Barbolini
ba123e62fa
Update time to 0.3.2 ( #1455 )
...
Co-authored-by: Tyler Hill <tyhi@tyhi.rs>
2022-04-14 15:11:46 -07:00
Austin Bonander
2e026cae67
prepare 0.5.12 release ( #1800 )
...
* prepare release 0.5.12
* chore: remove mentions of things happening in 0.6
except one mention that should still be happening in 0.6
2022-04-14 14:21:15 -07:00
Austin Bonander
eaf41fd092
prepare 0.5.11 release ( #1715 )
2022-02-18 13:49:06 -08:00
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
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
Austin Bonander
3749e0ea37
chore: prepare 0.5.7 (hotfix) release ( #1394 )
2021-08-20 17:14:42 -07:00
Austin Bonander
207e6db2ce
chore: bump versions of sqlx-* in dependencies
2021-08-17 12:49:02 -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
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
nomick
be189bd11e
Support MACADDR in Postgres ( #1329 )
2021-07-19 16:55:53 -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
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
b6e1275617
fix: derive(Type) should emit a forwarded impl for the compatible function
2021-03-18 16:12:00 -07:00
Ryan Leckey
cbe820760f
release: 0.5.1
2021-02-04 09:16:11 -08:00
Ryan Leckey
94d0baeb52
release: 0.5
2021-02-04 06:32:50 -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
Ryan Leckey
565d0a91a3
release: v0.4.2
2020-12-19 01:07:50 -08:00
Ryan Leckey
716517a84f
chore: add bstr and git2 to "all-types" feature
2020-12-18 21:56:12 -08:00
Matt Paul
012d72464e
Make mockable-todos example compile
2020-12-18 21:33:52 -08: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
4aa2f37140
select a runtime for docs.rs
2020-11-12 08:57:03 -08:00
Ryan Leckey
0b03dc6762
prepare v0.4.0
2020-11-12 07:46:13 -08:00
Ryan Leckey
f22a3f5a5d
remove default runtime, you must now always select a runtime
2020-11-12 07:42:31 -08:00
Jonas Platte
b14266ba2e
Add rustls support
2020-11-12 07:32:59 -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
Jonas Platte
277d0413bc
Bump paste version
2020-10-13 10:04:05 -07:00
Kramer Hampton
74d2f57de3
fix: add todos example to workspace
2020-10-13 09:55:51 -07:00
Chloe Ross
1949445cf0
other: don't deadname self
2020-07-31 04:14:48 -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
f298eb3cf1
Merge remote-tracking branch 'raftario/embedded-migrations'
2020-07-26 18:03:59 -07:00
Julius de Bruijn
0c9bea4ab2
Fixing panics for disabled statement cache
2020-07-24 07:24:23 -07:00
Raphaël Thériault
92646e00b8
Fix migrate! and add migration test
2020-07-23 17:46:27 -04:00
Raphaël Thériault
e5e9665bd9
Add migrate! macro for embedded migrations
2020-07-23 14:22:50 -04:00
Ryan Leckey
793f247604
refactor: PoolOptions::new() takes no parameters and the final .connect method takes the URI
2020-07-14 06:07:29 -07:00