Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update outdated crate dependencies #686

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
98 changes: 57 additions & 41 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 Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ url = { version = "2.0.0", optional = true }

# websocket dependent features
futures = { version = "0.3", optional = true }
jsonrpsee = { version = "0.16", optional = true, features = ["async-client", "client-ws-transport", "jsonrpsee-types"] }
jsonrpsee = { version = "0.20.3", optional = true, features = ["async-client", "client-ws-transport-native-tls", "jsonrpsee-types"] }
tungstenite = { version = "0.20.1", optional = true, features = ["native-tls"] }
ws = { version = "0.9.2", optional = true, features = ["ssl"] }

Expand Down
2 changes: 1 addition & 1 deletion client-keystore/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ license = "Apache-2.0"
edition = "2021"

[dependencies]
array-bytes = "4.1"
array-bytes = "6.2.2"
async-trait = "0.1.52"
parking_lot = "0.12.0"
serde_json = "1.0.79"
Expand Down
2 changes: 1 addition & 1 deletion client-keystore/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ impl KeystoreInner {
/// Returns `None` if the keystore only exists in-memory and there isn't any path to provide.
fn key_file_path(&self, public: &[u8], key_type: KeyTypeId) -> Option<PathBuf> {
let mut buf = self.path.as_ref()?.clone();
let key_type = array_bytes::bytes2hex("", &key_type.0);
let key_type = array_bytes::bytes2hex("", key_type.0);
let key = array_bytes::bytes2hex("", public);
buf.push(key_type + key.as_str());
Some(buf)
Expand Down
5 changes: 3 additions & 2 deletions node-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ frame-metadata = { version = "16.0", default-features = false, features = ["curr
hex = { version = "0.4.3", default-features = false }
log = { version = "0.4.14", default-features = false }
scale-bits = { version = "0.4.0", default-features = false, features = ["scale-info", "serde"] }
scale-decode = { version = "0.8.0", default-features = false, features = ["primitive-types", "derive"] }
scale-encode = { version = "0.4.0", default-features = false, features = ["bits", "primitive-types", "derive"] }
scale-value = { version = "0.13.0", default-features = false }
scale-decode = { version = "0.10.0", default-features = false, features = ["primitive-types", "derive"] }
scale-encode = { version = "0.5.0", default-features = false, features = ["bits", "primitive-types", "derive"] }
scale-info = { version = "2.0.1", features = ["derive", "decode", "bitvec"], default-features = false }
serde = { version = "1.0.136", features = ["derive"], default-features = false }
serde_json = { version = "1.0.79", default-features = false, features = ["alloc"] }
Expand Down
2 changes: 1 addition & 1 deletion node-api/src/events/event_details.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
use crate::{
error::{DispatchError, Error},
metadata::{MetadataError, PalletMetadata},
scale_value::{Composite, TypeId},
Metadata, Phase, StaticEvent,
};
use alloc::{sync::Arc, vec::Vec};
use codec::Decode;
use log::*;
use scale_decode::DecodeAsFields;
use scale_value::{scale::TypeId, Composite};

/// The event details.
/// Based on subxt EventDetails.
Expand Down
Loading
Loading