Skip to content

Commit

Permalink
Upgrade dependencies, bump for v2.26.0
Browse files Browse the repository at this point in the history
This patch upgrades all rust dependencies to their latest versions with
the exception only of the bech32 crate re-write.
  • Loading branch information
jkilpatr committed Oct 3, 2024
1 parent aa66738 commit 641010c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
28 changes: 14 additions & 14 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "deep_space"
version = "2.25.1"
version = "2.26.0"
authors = ["Justin Kilpatrick <[email protected]>", "Michał Papierski <[email protected]>"]
repository = "https://github.com/althea-net/deep_space"
description = "A highly portable, batteries included, transaction generation and key management library for CosmosSDK blockchains"
Expand All @@ -16,33 +16,33 @@ bech32 = "0.9"
serde = "1.0"
serde_json = "1.0"
serde_derive = "1.0"
base64 = "0.21"
base64 = "0.22"
unicode-normalization = {version = "0.1"}
prost-types = "0.12"
prost = "0.12"
prost-types = "0.13"
prost = "0.13"
pbkdf2 = {version = "0.12"}
hmac = {version = "0.12"}
rand = {version = "0.8"}
rust_decimal = "1.9"
secp256k1 = {version = "0.28", features = ["global-context"]}
tonic = {version = "0.10", features = ["gzip"]}
bytes = "1.0"
rust_decimal = "1.36"
secp256k1 = {version = "0.29", features = ["global-context"]}
tonic = {version = "0.12", features = ["gzip"]}
bytes = "1.7"
log = "0.4"
tokio = {version = "1", features=["time"]}
clarity = {version = "1.2", optional = true}
clarity = {version = "1.4", optional = true}
sha3 = {version = "0.10", optional = true}

cosmos-sdk-proto = {package = "cosmos-sdk-proto-althea", version = "0.17"}
althea_proto = {version="0.8", optional=true}
cosmos-sdk-proto = {package = "cosmos-sdk-proto-althea", version = "0.18"}
althea_proto = {version="0.9", optional=true}

[dev-dependencies]
rand = "0.8"
env_logger = "0.10"
actix-rt = "2.2"
env_logger = "0.11"
actix-rt = "2.10"


[features]
default = ["ssl"]
ethermint = ["clarity", "sha3"]
althea = ["ethermint", "dep:althea_proto"]
ssl = ["tonic/tls", "tonic/tls-roots"]
ssl = ["tonic/tls", "tonic/tls-roots"]
2 changes: 1 addition & 1 deletion src/public_key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ impl PublicKey for CosmosPublicKey {
/// Create a bech32 encoded public key with an arbitrary prefix
///
/// * `hrp` - A prefix for a bech32 encoding. By a convention
/// Cosmos Network uses `cosmospub` as a prefix for encoding public keys.
/// Cosmos Network uses `cosmospub` as a prefix for encoding public keys.
fn to_bech32<T: Into<String>>(&self, hrp: T) -> Result<String, PublicKeyError> {
let bech32 = bech32::encode(
&hrp.into(),
Expand Down
2 changes: 1 addition & 1 deletion src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ use prost_types::Any;
use std::fmt::Display;
use std::fmt::Formatter;
use std::fmt::Result as FmtResult;
use std::str;
use std::time::Duration;
use std::{str, usize};
use tonic::metadata::AsciiMetadataValue;
use tonic::{IntoRequest, Request};

Expand Down

0 comments on commit 641010c

Please sign in to comment.