Skip to content

Commit

Permalink
fix: upgrade diesel version (#6558)
Browse files Browse the repository at this point in the history
Description
---
Upgrades diesel version

Motivation and Context
---
Closes security:
https://github.com/tari-project/tari/security/dependabot/278

How Has This Been Tested?
---
Manual
  • Loading branch information
SWvheerden authored Sep 11, 2024
1 parent 45e913b commit d69fd66
Show file tree
Hide file tree
Showing 7 changed files with 93 additions and 56 deletions.
127 changes: 82 additions & 45 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions base_layer/contacts/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ tari_shutdown = { path = "../../infrastructure/shutdown", version = "1.4.2-pre.
tari_utilities = { version = "0.7" }

chrono = { version = "0.4.19", default-features = false, features = ["serde"] }
diesel = { version = "2.0.3", features = ["sqlite", "serde_json", "chrono", "64-column-tables"] }
diesel_migrations = "2.0.0"
diesel = { version = "2.2.4", features = ["sqlite", "serde_json", "chrono", "64-column-tables"] }
diesel_migrations = "2.2"
futures = { version = "^0.3.1", features = ["compat", "std"] }
log = "0.4.6"
num-derive = "0.4.2"
Expand Down
2 changes: 1 addition & 1 deletion base_layer/contacts/src/chat_client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ tari_storage = { path = "../../../../infrastructure/storage" }
anyhow = "1.0.41"
async-trait = "0.1.52"
config = { version = "0.14.0" }
diesel = { version = "2.0.3", features = ["sqlite", "r2d2", "serde_json", "chrono", "64-column-tables"] }
diesel = { version = "2.2.4", features = ["sqlite", "r2d2", "serde_json", "chrono", "64-column-tables"] }
lmdb-zero = "0.4.4"
log = "0.4.17"
rand = "0.8"
Expand Down
4 changes: 2 additions & 2 deletions base_layer/key_manager/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ chacha20poly1305 = "0.10.1"
tokio = { version = "1.36", features = ["sync", "macros"] }
futures = { version = "^0.3.1", features = ["compat", "std"] }
log = { version = "0.4.6" }
diesel = { version = "2.0.3", features = ["sqlite", "serde_json", "chrono", "64-column-tables"] }
diesel_migrations = { version = "2.0.0" }
diesel = { version = "2.2.4", features = ["sqlite", "serde_json", "chrono", "64-column-tables"] }
diesel_migrations = { version = "2.2" }
argon2 = { version = "0.4.1", features = ["std", "alloc"] }
blake2 = "0.10"
chacha20 = "0.7.1"
Expand Down
4 changes: 2 additions & 2 deletions base_layer/wallet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ borsh = "1.2"
sha2 = "0.10"
chrono = { version = "0.4.19", default-features = false, features = ["serde"] }
derivative = "2.2.0"
diesel = { version = "2.0.3", features = ["sqlite", "serde_json", "chrono", "64-column-tables"] }
diesel_migrations = "2.0.0"
diesel = { version = "2.2.4", features = ["sqlite", "serde_json", "chrono", "64-column-tables"] }
diesel_migrations = "2.2"
digest = "0.10"
fs2 = "0.4.0"
futures = { version = "^0.3.1", features = ["compat", "std"] }
Expand Down
4 changes: 2 additions & 2 deletions common_sqlite/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ edition = "2018"
[dependencies]
tari_utilities = { version = "0.7" }

diesel = { version = "2.0.3", features = ["sqlite", "r2d2", "serde_json", "chrono", "64-column-tables"] }
diesel_migrations = "2.0.0"
diesel = { version = "2.2.4", features = ["sqlite", "r2d2", "serde_json", "chrono", "64-column-tables"] }
diesel_migrations = "2.2"
log = "0.4.6"
serde = "1.0.90"
thiserror = "1.0.26"
Expand Down
4 changes: 2 additions & 2 deletions comms/dht/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ blake2 = "0.10"
chacha20 = "0.7.1"
chacha20poly1305 = "0.10.1"
chrono = { version = "0.4.19", default-features = false }
diesel = { version = "2.0.3", features = ["sqlite", "serde_json", "chrono", "numeric"] }
diesel_migrations = "2.0.0"
diesel = { version = "2.2.4", features = ["sqlite", "serde_json", "chrono", "numeric"] }
diesel_migrations = "2.2.0"
digest = "0.10"
futures = "^0.3.1"
log = "0.4.8"
Expand Down

0 comments on commit d69fd66

Please sign in to comment.