Austin Bonander
90797200ee
groundwork for 0.9.0-alpha.1 ( #3821 )
...
* chore: bump version to `0.9.0-alpha.1`
* chore: delete unused `sqlx-bench` package
* chore: set `rust-version` to 1.85 for all crates
* fix: lots of new Clippy warnings
* fix: lots more Clippy warnings
* fix(cli): add `_sqlite` feature
* fix: lots, *lots* more Clippy warnings
* fix(core): warning in `tls_rustls`
* breaking: delete runtime+TLS combination features
* chore: don't re-export unstable `TransactionManager` trait
* chore: 0.9.0-alplha.1 CHANGELOG
* chore: increase MSRV further to 1.86
* fix: more clippy warnings
2025-06-01 21:09:55 -07:00
etorreborre
93f3d79f83
track the kind of null arguments in order to provide the appropriate type when converting them
2024-07-11 15:06:55 -07:00
nitn3lav
9ba488c831
Generic Associated Types in Database, replacing HasValueRef, HasArguments, HasStatement ( #2973 )
...
* HasValueRef, HasArguments, HasStatement -> Database GATs
replace the associated types from the generic traits
`HasValueRef<'r>`, `HasArguments<'q>` and `HasStatement<'q>`
with generic associated types in `Database`
* fixup after rebase
---------
Co-authored-by: Austin Bonander <austin.bonander@gmail.com>
2024-03-14 12:35:52 -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
eade49cfb0
0.7.0-alpha.1 release
2023-02-21 14:56:54 -08: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
Yota Toyama
9534de3476
Fix type info access in Any database driver ( #1848 )
...
* Fix type info access in `Any` database driver
* Implement custom receiver methods
* Revert "Fix type info access in `Any` database driver"
This reverts commit a2845c74c5e545351f3f0f2fa6851e7f23a60621.
* Refactor
* Update sqlx-core/src/any/row.rs
Co-authored-by: Yota Toyama <raviqqe@gmail.com>
Co-authored-by: Austin Bonander <austin.bonander@gmail.com>
2022-07-14 14:17:57 -07:00
Ryan Leckey
b61c0821ab
style: rustfmt
2020-07-24 08:07:44 -07:00
Ryan Leckey
e575501a39
feat: add Executor::prepare, a hook into the automatic statement preparation life-cycle
2020-07-24 07:24:23 -07:00
Ryan Leckey
250b4d8e10
feat(any): update Any to support the new column metadata
2020-07-05 04:23:10 -07:00
Ryan Leckey
0b2844bf39
feat(any): implement ColumnIndex<AnyRow> for &str to enable FromRow for the Any driver
...
closes #464
2020-07-02 23:28:53 -07:00
Ryan Leckey
a7117dd71b
feat(any): introduce the Any database driver which enables choosing the database driver at runtime
2020-06-27 04:07:40 -07:00