Skip to content

Commit

Permalink
chore(deps): update rust crate borsh to 1.5.0 (#838)
Browse files Browse the repository at this point in the history
  • Loading branch information
monoid authored May 25, 2024
1 parent 04bacb7 commit acb07a3
Show file tree
Hide file tree
Showing 5 changed files with 178 additions and 140 deletions.
89 changes: 21 additions & 68 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion air/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ air-testing-framework = { path = "../crates/testing-framework" }
fluence-app-service = "0.36.0"
marine-rs-sdk = { version = "0.14.0", features = ["logger"] }

borsh = "0.10.3"
borsh = "1.5.0"
bs58 = "0.5.0"
# the feature just silence a warning in the criterion 0.3.x.
criterion = { version = "0.3.3", features = ["html_reports"] }
Expand Down
3 changes: 1 addition & 2 deletions crates/air-lib/interpreter-signatures/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ air-interpreter-cid = { version = "0.9.0", path = "../interpreter-cid" }
fluence-keypair = { version = "0.10.4", default-features = false }

bs58 = "0.5.0"
borsh = { version = "0.10.3", features = ["rc"]}
borsh-derive = "0.10.3"
borsh = { version = "1.5.0", features = ["rc", "derive"] }
serde = { version = "1.0.190", features = ["derive"] }
thiserror = "1.0.49"
rkyv = { version = "0.7.43", features = ["validation", "strict"], optional = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/air-lib/interpreter-signatures/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ impl From<fluence_keypair::Signature> for Signature {
}
}

#[derive(borsh_derive::BorshSerialize)]
#[derive(BorshSerialize)]
pub(crate) struct SaltedData<'ctx, Data: BorshSerialize>(&'ctx Data, &'ctx str);

impl<'ctx, Data: BorshSerialize> SaltedData<'ctx, Data> {
Expand Down
Loading

0 comments on commit acb07a3

Please sign in to comment.