Skip to content

Commit

Permalink
Merge pull request #4427 from eval-exec/exec/sqlx-use-native-tls
Browse files Browse the repository at this point in the history
Fix RUSTSEC-2024-0336, let sqlx use `runtime-tokio-native-tls` instead of `runtime-tokio-rustls` to drop `rustls` dependency
  • Loading branch information
quake committed Apr 22, 2024
2 parents 9944b22 + 6102250 commit f5d5436
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 90 deletions.
91 changes: 4 additions & 87 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions deny.toml
Expand Up @@ -4,8 +4,6 @@ unmaintained = "warn"
yanked = "deny"
notice = "deny"
ignore = [
# waiting https://github.com/bheisler/criterion.rs/pull/628 bump release
"RUSTSEC-2021-0145",
# The CVE can be kept under control for its triggering.
# See https://github.com/launchbadge/sqlx/pull/2455#issuecomment-1507657825 for more information.
# Meanwhile, awaiting SQLx's new version (> 0.7.3) for full support of any DB driver.
Expand Down
2 changes: 1 addition & 1 deletion util/rich-indexer/Cargo.toml
Expand Up @@ -23,7 +23,7 @@ log = "0.4"
num-bigint = "0.4"
once_cell = "1.8.0"
sql-builder = "3.1"
sqlx = { version = "0.6", features = ["runtime-tokio-rustls", "any", "sqlite", "postgres"] }
sqlx = { version = "0.6", features = ["runtime-tokio-native-tls", "any", "sqlite", "postgres"] }

[dev-dependencies]
hex = "0.4"
Expand Down

0 comments on commit f5d5436

Please sign in to comment.