Joshua Potts
ba1b2f9b82
refactor: Resolve cargo check warnings in postgres examples
...
Signed-off-by: Joshua Potts <8704475+iamjpotts@users.noreply.github.com>
2024-07-10 22:15:31 -07:00
Yuri Astrakhan
a824e8468c
Cleanup format arguments ( #2650 )
...
Inlined format args make code more readable, and code more compact.
I ran this clippy command to fix most cases, and then cleaned up a few trailing commas and uncaught edge cases.
```
cargo clippy --bins --examples --benches --tests --lib --workspace --fix -- -A clippy::all -W clippy::uninlined_format_args
```
2023-07-31 13:27:04 -07:00
Austin Bonander
dcb58b0e2c
0.7.0 release ( #2575 )
...
* WIP preparing 0.7.0 release
* fix: re-enable examples
* fix doctests in `sqlx-core`
* cherry-pick CHANGELOG entry for 0.6.3
* add actions workflow for examples
* fix(cli): close connection after running migrations
* fix examples
* fix(sqlite): fix parsing of URLs via `Any`
* fix(example): don't let Postgres `listen` example run forever
* fix Postgres `transaction` example
2023-07-03 14:37:37 -07:00
Austin Bonander
b5312c3b6f
Break drivers out into separate crates, clean up some technical debt ( #2039 )
...
* WIP rt refactors
* refactor: break drivers out into separate crates
also cleans up significant technical debt
2023-02-21 13:25:25 -08: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
Paolo Barbolini
fc9c9be5e8
Update to edition 2021 ( #1808 )
...
* Update to edition 2021
* Fix running tests
2022-04-15 12:52:00 -07: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
Austin Bonander
685d70ba62
refactor(examples): use select pg_notify
in postgres/listen
...
Signed-off-by: Austin Bonander <austin@launchbadge.com>
2020-07-28 03:21:19 -07:00
Ryan Leckey
4857d051e1
chore: update listener example
2020-07-27 02:22:59 -07:00
rage311
a0d1106f90
Added quotes to listen/unlisten channel names to honor case sensitivity and be consistent with 'listen_all()'
2020-06-05 19:50:44 -07:00
Reid Swan
42ff560577
Adds new Github Action to build examples
2020-04-02 15:36:12 +02:00
Jon Pacheco
501ed887e3
Restructure examples folder
2020-03-31 00:35:07 +01:00