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
This commit is contained in:
Austin Bonander
2025-06-01 21:09:55 -07:00
committed by GitHub
parent bab1b022bd
commit 90797200ee
94 changed files with 213 additions and 1265 deletions

View File

@@ -6,6 +6,7 @@ license.workspace = true
edition.workspace = true
authors.workspace = true
repository.workspace = true
rust-version.workspace = true
[features]
default = []

View File

@@ -15,9 +15,9 @@ pub(crate) fn resolve_path(path: impl AsRef<Path>, err_span: Span) -> syn::Resul
// requires `proc_macro::SourceFile::path()` to be stable
// https://github.com/rust-lang/rust/issues/54725
if path.is_relative()
&& !path
&& path
.parent()
.map_or(false, |parent| !parent.as_os_str().is_empty())
.is_none_or(|parent| parent.as_os_str().is_empty())
{
return Err(syn::Error::new(
err_span,

View File

@@ -246,13 +246,9 @@ fn parse_args(attr_args: AttributeArgs) -> syn::Result<Args> {
fn recurse_lit_lookup(expr: Expr) -> Option<Lit> {
match expr {
Expr::Lit(syn::ExprLit { lit, .. }) => {
return Some(lit);
}
Expr::Group(syn::ExprGroup { expr, .. }) => {
return recurse_lit_lookup(*expr);
}
_ => return None,
Expr::Lit(syn::ExprLit { lit, .. }) => Some(lit),
Expr::Group(syn::ExprGroup { expr, .. }) => recurse_lit_lookup(*expr),
_ => None,
}
}