chore(deps): Bump sqlx from 0.7.3 to 0.7.4 (#1250)

Bumps [sqlx](https://github.com/launchbadge/sqlx) from 0.7.3 to 0.7.4.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/launchbadge/sqlx/blob/main/CHANGELOG.md">sqlx's
changelog</a>.</em></p>
<blockquote>
<h2>0.7.4 - 2024-03-11</h2>
<p>38 pull requests were merged this release cycle.</p>
<p>This is officially the <strong>last</strong> release of the 0.7.x
release cycle.</p>
<p>As of this release, development of 0.8.0 has begun on
<code>main</code> and only high-priority bugfixes may be backported.</p>
<h3>Added</h3>
<ul>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2891">#2891</a>]:
feat: expose getters for connect options fields [[<a
href="https://github.com/saiintbrisson"><code>@​saiintbrisson</code></a>]]</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2902">#2902</a>]:
feat: add <code>to_url_lossy</code> to connect options [[<a
href="https://github.com/lily-mosquitoes"><code>@​lily-mosquitoes</code></a>]]</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2927">#2927</a>]:
Support <code>query!</code> for cargo-free systems [[<a
href="https://github.com/kshramt"><code>@​kshramt</code></a>]]</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2997">#2997</a>]:
doc(FAQ): add entry explaining prepared statements [[<a
href="https://github.com/abonander"><code>@​abonander</code></a>]]</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/3001">#3001</a>]:
Update README to clarify MariaDB support [[<a
href="https://github.com/iangilfillan"><code>@​iangilfillan</code></a>]]</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/3004">#3004</a>]:
feat(logging): Add numeric elapsed time field elapsed_secs [[<a
href="https://github.com/iamjpotts"><code>@​iamjpotts</code></a>]]</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/3007">#3007</a>]:
feat: add <code>raw_sql</code> API [[<a
href="https://github.com/abonander"><code>@​abonander</code></a>]]
<ul>
<li>This hopefully makes it easier to find how to execute statements
which are not supported by the default
prepared statement interfaces <code>query*()</code> and
<code>query!()</code>.</li>
<li>Improved documentation across the board for the
<code>query*()</code> functions.</li>
<li>Deprecated: <code>execute_many()</code> and
<code>fetch_many()</code> on interfaces that use prepared statements.
<ul>
<li>Multiple SQL statements in one query string were only supported by
SQLite because its prepared statement
interface is the <em>only</em> way to execute SQL. All other database
flavors forbid multiple statements in
one prepared statement string as an extra defense against SQL
injection.</li>
<li>The new <code>raw_sql</code> API retains this functionality because
it explicitly does <em>not</em> use prepared statements.
Raw or text-mode query interfaces generally allow multiple statements in
one query string, and this is
supported by all current databases. Due to their nature, however, one
cannot use bind parameters with them.</li>
<li>If this change affects you, an issue is open for discussion: <a
href="https://redirect.github.com/launchbadge/sqlx/issues/3108">launchbadge/sqlx#3108</a></li>
</ul>
</li>
</ul>
</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/3011">#3011</a>]:
Added support to IpAddr with MySQL/MariaDB. [[<a
href="https://github.com/Icerath"><code>@​Icerath</code></a>]]</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/3013">#3013</a>]:
Add default implementation for PgInterval [[<a
href="https://github.com/pawurb"><code>@​pawurb</code></a>]]</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/3018">#3018</a>]:
Add default implementation for PgMoney [[<a
href="https://github.com/pawurb"><code>@​pawurb</code></a>]]</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/3026">#3026</a>]:
Update docs to reflect support for MariaDB data types [[<a
href="https://github.com/iangilfillan"><code>@​iangilfillan</code></a>]]</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/3037">#3037</a>]:
feat(mysql): allow to connect with mysql driver without default behavor
[[<a
href="https://github.com/darkecho731"><code>@​darkecho731</code></a>]]</li>
</ul>
<h3>Changed</h3>
<ul>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2900">#2900</a>]:
Show latest url to docs for macro.migrate [[<a
href="https://github.com/Vrajs16"><code>@​Vrajs16</code></a>]]</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2914">#2914</a>]:
Use <code>create_new</code> instead of <code>atomic-file-write</code>
[[<a
href="https://github.com/mattfbacon"><code>@​mattfbacon</code></a>]]</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2926">#2926</a>]:
docs: update example for <code>PgConnectOptions</code> [[<a
href="https://github.com/Fyko"><code>@​Fyko</code></a>]]</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2989">#2989</a>]:
sqlx-core: Remove dotenvy dependency [[<a
href="https://github.com/joshtriplett"><code>@​joshtriplett</code></a>]]</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2996">#2996</a>]:
chore: Update ahash to 0.8.7 [[<a
href="https://github.com/takenoko-gohan"><code>@​takenoko-gohan</code></a>]]</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/3006">#3006</a>]:
chore(deps): Replace unmaintained tempdir crate with tempfile [[<a
href="https://github.com/iamjpotts"><code>@​iamjpotts</code></a>]]</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/3008">#3008</a>]:
chore: Ignore .sqlx folder created by running ci steps locally [[<a
href="https://github.com/iamjpotts"><code>@​iamjpotts</code></a>]]</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/3009">#3009</a>]:
chore(dev-deps): Upgrade env_logger from 0.9 to 0.11 [[<a
href="https://github.com/iamjpotts"><code>@​iamjpotts</code></a>]]</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/3010">#3010</a>]:
chore(deps): Upgrade criterion to 0.5.1 [[<a
href="https://github.com/iamjpotts"><code>@​iamjpotts</code></a>]]</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/3050">#3050</a>]:
Optimize SASL auth in sqlx-postgres [[<a
href="https://github.com/mirek26"><code>@​mirek26</code></a>]]</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/3055">#3055</a>]:
Set TCP_NODELAY option on TCP sockets [[<a
href="https://github.com/mirek26"><code>@​mirek26</code></a>]]</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/3065">#3065</a>]:
Improve max_lifetime handling [[<a
href="https://github.com/mirek26"><code>@​mirek26</code></a>]]</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/3072">#3072</a>]:
Change the name of &quot;inner&quot; function generated by
<code>#[sqlx::test]</code> [[<a
href="https://github.com/ciffelia"><code>@​ciffelia</code></a>]]</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/3083">#3083</a>]:
Remove sha1 because it's not being used in postgres [[<a
href="https://github.com/rafaelGuerreiro"><code>@​rafaelGuerreiro</code></a>]]</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="635dba5b26"><code>635dba5</code></a>
fix: deprecation in <code>postgres::types::chrono</code></li>
<li><a
href="a2b89d70a7"><code>a2b89d7</code></a>
fix: deprecation warnings in <code>sqlite::types::chrono</code>,
document <code>DATETIME</code> beh...</li>
<li><a
href="248d6170a7"><code>248d617</code></a>
chore: prepare 0.7.4 release</li>
<li><a
href="d005111494"><code>d005111</code></a>
fix: better I/O errors when <code>migrate!()</code> cannot read a
file</li>
<li><a
href="24be262165"><code>24be262</code></a>
fix: restore <code>Migrator</code> to the public API</li>
<li><a
href="bbfd0d711a"><code>bbfd0d7</code></a>
fix: AnyRow not support PgType::Varchar (<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2976">#2976</a>)</li>
<li><a
href="b29eab0439"><code>b29eab0</code></a>
feat: add <code>to_url_lossy</code> to connect options (<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2902">#2902</a>)</li>
<li><a
href="34860b7f99"><code>34860b7</code></a>
fix(ci): just cfg-out the whole
<code>tests/sqlite/sqlcipher.rs</code></li>
<li><a
href="791a7f5417"><code>791a7f5</code></a>
doc(pg): document behavior of <code>bigdecimal</code> and
<code>rust_decimal</code> with out-of-ran...</li>
<li><a
href="e5c18b354e"><code>e5c18b3</code></a>
fix: gate <code>sqlcipher</code> testing behind <code>cfg</code> to make
development less annoying</li>
<li>Additional commits viewable in <a
href="https://github.com/launchbadge/sqlx/compare/v0.7.3...v0.7.4">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=sqlx&package-manager=cargo&previous-version=0.7.3&new-version=0.7.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
dependabot[bot] 2024-03-13 02:50:29 +00:00 committed by GitHub
parent 7fafe5690a
commit 9f4273954e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

61
Cargo.lock generated
View File

@ -429,16 +429,6 @@ dependencies = [
"num-traits",
]
[[package]]
name = "atomic-write-file"
version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a8204db279bf648d64fe845bd8840f78b39c8132ed4d6a4194c3b10d4b4cfb0b"
dependencies = [
"nix 0.28.0",
"rand",
]
[[package]]
name = "autocfg"
version = "1.1.0"
@ -658,12 +648,6 @@ version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]]
name = "cfg_aliases"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e"
[[package]]
name = "chrono"
version = "0.4.35"
@ -2317,18 +2301,6 @@ dependencies = [
"libc",
]
[[package]]
name = "nix"
version = "0.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ab2156c4fce2f8df6c499cc1c763e4394b7482525bf2a9701c9d79d215f519e4"
dependencies = [
"bitflags 2.4.2",
"cfg-if",
"cfg_aliases",
"libc",
]
[[package]]
name = "nom"
version = "7.1.3"
@ -2810,7 +2782,7 @@ dependencies = [
"inferno",
"libc",
"log",
"nix 0.26.4",
"nix",
"once_cell",
"parking_lot",
"smallvec",
@ -3800,9 +3772,9 @@ dependencies = [
[[package]]
name = "sqlx"
version = "0.7.3"
version = "0.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dba03c279da73694ef99763320dea58b51095dfe87d001b1d4b5fe78ba8763cf"
checksum = "c9a2ccff1a000a5a59cd33da541d9f2fdcd9e6e8229cc200565942bff36d0aaa"
dependencies = [
"sqlx-core",
"sqlx-macros",
@ -3813,9 +3785,9 @@ dependencies = [
[[package]]
name = "sqlx-core"
version = "0.7.3"
version = "0.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d84b0a3c3739e220d94b3239fd69fb1f74bc36e16643423bd99de3b43c21bfbd"
checksum = "24ba59a9342a3d9bab6c56c118be528b27c9b60e490080e9711a04dccac83ef6"
dependencies = [
"ahash",
"atoi",
@ -3823,7 +3795,6 @@ dependencies = [
"bytes",
"crc",
"crossbeam-queue",
"dotenvy",
"either",
"event-listener",
"futures-channel",
@ -3853,9 +3824,9 @@ dependencies = [
[[package]]
name = "sqlx-macros"
version = "0.7.3"
version = "0.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "89961c00dc4d7dffb7aee214964b065072bff69e36ddb9e2c107541f75e4f2a5"
checksum = "4ea40e2345eb2faa9e1e5e326db8c34711317d2b5e08d0d5741619048a803127"
dependencies = [
"proc-macro2",
"quote",
@ -3866,11 +3837,10 @@ dependencies = [
[[package]]
name = "sqlx-macros-core"
version = "0.7.3"
version = "0.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d0bd4519486723648186a08785143599760f7cc81c52334a55d6a83ea1e20841"
checksum = "5833ef53aaa16d860e92123292f1f6a3d53c34ba8b1969f152ef1a7bb803f3c8"
dependencies = [
"atomic-write-file",
"dotenvy",
"either",
"heck",
@ -3892,9 +3862,9 @@ dependencies = [
[[package]]
name = "sqlx-mysql"
version = "0.7.3"
version = "0.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e37195395df71fd068f6e2082247891bc11e3289624bbc776a0cdfa1ca7f1ea4"
checksum = "1ed31390216d20e538e447a7a9b959e06ed9fc51c37b514b46eb758016ecd418"
dependencies = [
"atoi",
"base64 0.21.7",
@ -3934,9 +3904,9 @@ dependencies = [
[[package]]
name = "sqlx-postgres"
version = "0.7.3"
version = "0.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d6ac0ac3b7ccd10cc96c7ab29791a7dd236bd94021f31eec7ba3d46a74aa1c24"
checksum = "7c824eb80b894f926f89a0b9da0c7f435d27cdd35b8c655b114e58223918577e"
dependencies = [
"atoi",
"base64 0.21.7",
@ -3961,7 +3931,6 @@ dependencies = [
"rand",
"serde",
"serde_json",
"sha1",
"sha2",
"smallvec",
"sqlx-core",
@ -3973,9 +3942,9 @@ dependencies = [
[[package]]
name = "sqlx-sqlite"
version = "0.7.3"
version = "0.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "210976b7d948c7ba9fced8ca835b11cbb2d677c59c79de41ac0d397e14547490"
checksum = "b244ef0a8414da0bed4bb1910426e890b19e5e9bccc27ada6b797d05c55ae0aa"
dependencies = [
"atoi",
"flume",