Skip to content

Commit

Permalink
bump deps
Browse files Browse the repository at this point in the history
  • Loading branch information
thibault-martinez committed Mar 18, 2024
1 parent b4ab875 commit 2398918
Show file tree
Hide file tree
Showing 8 changed files with 202 additions and 123 deletions.
263 changes: 171 additions & 92 deletions Cargo.lock

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions bindings/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ iota-crypto = { version = "0.23.1", default-features = false, features = [
"slip10",
"bip44",
] }
log = { version = "0.4.20", default-features = false }
log = { version = "0.4.21", default-features = false }
packable = { version = "0.8.3", default-features = false }
prefix-hex = { version = "0.7.1", default-features = false }
primitive-types = { version = "0.12.2", default-features = false }
serde = { version = "1.0.196", default-features = false }
serde_json = { version = "1.0.113", default-features = false }
thiserror = { version = "1.0.57", default-features = false }
serde = { version = "1.0.197", default-features = false }
serde_json = { version = "1.0.114", default-features = false }
thiserror = { version = "1.0.58", default-features = false }
tokio = { version = "1.36.0", default-features = false }
zeroize = { version = "1.7.0", default-features = false }

Expand Down
4 changes: 2 additions & 2 deletions bindings/nodejs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ iota-sdk-bindings-core = { path = "../core", default-features = false, features
"private_key_secret_manager",
] }

log = { version = "0.4.20", default-features = false }
log = { version = "0.4.21", default-features = false }
neon = { version = "0.10.1", default-features = false, features = [
"napi-6",
"event-queue-api",
"promise-api",
] }
once_cell = { version = "1.19.0", default-features = false }
serde_json = { version = "1.0.113", default-features = false }
serde_json = { version = "1.0.114", default-features = false }
tokio = { version = "1.36.0", default-features = false }

[profile.production]
Expand Down
4 changes: 2 additions & 2 deletions bindings/python/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ iota-sdk-bindings-core = { path = "../core", default-features = false, features

futures = { version = "0.3.30", default-features = false }
once_cell = { version = "1.19.0", default-features = false }
pyo3 = { version = "0.20.2", default-features = false, features = [
pyo3 = { version = "0.20.3", default-features = false, features = [
"macros",
"extension-module",
] }
serde_json = { version = "1.0.113", default-features = false }
serde_json = { version = "1.0.114", default-features = false }
tokio = { version = "1.36.0", default-features = false }
8 changes: 4 additions & 4 deletions bindings/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ iota-sdk-bindings-core = { path = "../core", default-features = false, features
] }

console_error_panic_hook = { version = "0.1.7", default-features = false }
js-sys = { version = "0.3.68", default-features = false, features = [] }
log = { version = "0.4.20", default-features = false }
serde_json = { version = "1.0.113", default-features = false }
js-sys = { version = "0.3.69", default-features = false, features = [] }
log = { version = "0.4.21", default-features = false }
serde_json = { version = "1.0.114", default-features = false }
tokio = { version = "1.36.0", default-features = false, features = ["sync"] }
wasm-bindgen = { version = "0.2.92", default-features = false, features = [
"spans",
"std",
"serde-serialize",
] }
wasm-bindgen-futures = { version = "0.4.41", default-features = false }
wasm-bindgen-futures = { version = "0.4.42", default-features = false }
wasm-logger = { version = "0.2.0", default-features = false }

[target.'cfg(all(target_arch = "wasm32", not(target_os = "wasi")))'.dependencies]
Expand Down
12 changes: 6 additions & 6 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ iota-sdk = { path = "../sdk", default-features = false, features = [
"ledger_nano",
] }

chrono = { version = "0.4.34", default-features = false, features = ["std"] }
clap = { version = "4.5.0", default-features = false, features = [
chrono = { version = "0.4.35", default-features = false, features = ["std"] }
clap = { version = "4.5.3", default-features = false, features = [
"std",
"color",
"help",
Expand All @@ -43,11 +43,11 @@ dialoguer = { version = "0.11.0", default-features = false, features = [
dotenvy = { version = "0.15.7", default-features = false }
fern-logger = { version = "0.5.0", default-features = false }
humantime = { version = "2.1.0", default-features = false }
log = { version = "0.4.20", default-features = false }
log = { version = "0.4.21", default-features = false }
prefix-hex = { version = "0.7.1", default-features = false, features = ["std"] }
rustyline = { version = "13.0.0", features = ["derive"] }
serde_json = { version = "1.0.113", default-features = false }
thiserror = { version = "1.0.57", default-features = false }
rustyline = { version = "14.0.0", features = ["derive"] }
serde_json = { version = "1.0.114", default-features = false }
thiserror = { version = "1.0.58", default-features = false }
tokio = { version = "1.36.0", default-features = false, features = ["fs"] }
zeroize = { version = "1.7.0", default-features = false }

Expand Down
6 changes: 3 additions & 3 deletions cli/src/helper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
use core::str::FromStr;
use std::path::Path;

use chrono::{DateTime, NaiveDateTime, Utc};
use chrono::{DateTime, Utc};
use dialoguer::{console::Term, theme::ColorfulTheme, Input, Select};
use iota_sdk::{
client::{utils::Password, verify_mnemonic},
Expand Down Expand Up @@ -323,11 +323,11 @@ pub fn to_utc_date_time(ts_millis: u128) -> Result<DateTime<Utc>, Error> {
let nanos = u32::try_from(millis * 1000000)
.map_err(|e| Error::Miscellaneous(format!("Failed to convert timestamp to u32: {e}")))?;

let naive_time = NaiveDateTime::from_timestamp_opt(secs_int, nanos).ok_or(Error::Miscellaneous(
let date_time = DateTime::from_timestamp(secs_int, nanos).ok_or(Error::Miscellaneous(
"Failed to convert timestamp to NaiveDateTime".to_string(),
))?;

Ok(naive_time.and_utc())
Ok(date_time)
}

pub async fn check_file_exists(path: &Path) -> Result<(), Error> {
Expand Down
20 changes: 10 additions & 10 deletions sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ rustdoc-args = ["--cfg", "docsrs"]
# Mandatory dependencies
bech32 = { version = "0.9.1", default-features = false }
bitflags = { version = "2.4.2", default-features = false }
bytemuck = { version = "1.14.3", default-features = false }
bytemuck = { version = "1.15.0", default-features = false }
derive_more = { version = "0.99.17", default-features = false, features = [
"from",
"as_ref",
Expand Down Expand Up @@ -51,24 +51,24 @@ prefix-hex = { version = "0.7.1", default-features = false, features = [
"primitive-types",
] }
primitive-types = { version = "0.12.2", default-features = false }
serde = { version = "1.0.196", default-features = false, features = ["derive"] }
serde_json = { version = "1.0.113", default-features = false, features = [
serde = { version = "1.0.197", default-features = false, features = ["derive"] }
serde_json = { version = "1.0.114", default-features = false, features = [
"alloc",
] }

# Optional dependencies
anymap = { version = "0.12.1", default-features = false, optional = true }
async-trait = { version = "0.1.77", default-features = false, optional = true }
async-trait = { version = "0.1.78", default-features = false, optional = true }
bs58 = { version = "0.5.0", default-features = false, optional = true }
fern-logger = { version = "0.5.0", default-features = false, optional = true }
futures = { version = "0.3.30", default-features = false, features = [
"thread-pool",
], optional = true }
heck = { version = "0.4.1", default-features = false, optional = true }
heck = { version = "0.5.0", default-features = false, optional = true }
instant = { version = "0.1.12", default-features = false, optional = true }
iota-ledger-nano = { version = "1.0.1", default-features = false, optional = true }
iota_stronghold = { version = "2.0.0", default-features = false, optional = true }
log = { version = "0.4.20", default-features = false, optional = true }
log = { version = "0.4.21", default-features = false, optional = true }
num_cpus = { version = "1.16.0", default-features = false, optional = true }
once_cell = { version = "1.19.0", default-features = false, optional = true }
rand = { version = "0.8.5", default-features = false, features = [
Expand All @@ -77,17 +77,17 @@ rand = { version = "0.8.5", default-features = false, features = [
regex = { version = "1.10.3", default-features = false, features = [
"unicode-perl",
], optional = true }
reqwest = { version = "0.11.24", default-features = false, features = [
reqwest = { version = "0.11.26", default-features = false, features = [
"json",
], optional = true }
rocksdb = { version = "0.21.0", default-features = false, features = [
"lz4",
], optional = true }
rumqttc = { version = "0.23.0", default-features = false, features = [
rumqttc = { version = "0.24.0", default-features = false, features = [
"websocket",
], optional = true }
serde_repr = { version = "0.1.18", default-features = false, optional = true }
thiserror = { version = "1.0.57", default-features = false, optional = true }
thiserror = { version = "1.0.58", default-features = false, optional = true }
time = { version = "0.3.34", default-features = false, features = [
"serde",
"macros",
Expand Down Expand Up @@ -122,7 +122,7 @@ tokio = { version = "1.36.0", default-features = false, features = [
"time",
"sync",
], optional = true }
wasm-bindgen-futures = { version = "0.4.41", default-features = false, optional = true }
wasm-bindgen-futures = { version = "0.4.42", default-features = false, optional = true }

[dev-dependencies]
iota-sdk = { path = ".", default-features = false, features = ["rand"] }
Expand Down

0 comments on commit 2398918

Please sign in to comment.