Skip to content

Commit

Permalink
chore(dep): upgrade cargo-metadata (#3545)
Browse files Browse the repository at this point in the history
  • Loading branch information
clearloop authored Dec 3, 2023
1 parent 5b4a419 commit efcb985
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 24 deletions.
20 changes: 17 additions & 3 deletions Cargo.lock

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

24 changes: 5 additions & 19 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,8 @@ base64 = "0.21.5"
byteorder = { version = "1.5.0", default-features = false }
blake2-rfc = { version = "0.2.18", default-features = false }
bs58 = { version = "0.5.0", default-features = false }
# TODO: upgrade this package ( issue #2694 )
cargo_metadata = "=0.15.3"
clap = { version = "4.4.10" }
cargo_metadata = "0.18.1"
clap = "4.4.8"
codec = { package = "parity-scale-codec", version = "3.6.4", default-features = false }
color-eyre = "0.6.2"
colored = "2.0.0"
Expand Down Expand Up @@ -148,22 +147,9 @@ serde_json = "^1"
serde_yaml = "0.8.26"
sha-1 = "0.10.1"
static_assertions = "1"
# # NOTE
#
# 1. subxt v0.29.0 breaks the logging in gsdk, our fork is based on the
# unpublished v0.29.0 from the main repo with fixes.
#
# 2. subxt v0.29.0 upgrades the substrate dependencies which are not
# compatible with our current dependencies.
#
# 3. changing but patching the source here for making these work out of
# workspace.
#
# 4. subxt-metadata and subxt-codegen are just used by gsdk-codegen for now
# gathering them here for easy management.
subxt = { version = "0.32.1" }
subxt-metadata = { version = "0.32.1" }
subxt-codegen = { version = "0.32.1" }
subxt = "0.32.1"
subxt-metadata = "0.32.1"
subxt-codegen = "0.32.1"
syn = "2.0.39"
thiserror = "1.0.50"
tokio = { version = "1.34.0" }
Expand Down
4 changes: 2 additions & 2 deletions utils/wasm-builder/src/crate_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

use anyhow::{Context, Result};
use cargo_metadata::{Metadata, MetadataCommand, Package};
use std::{collections::HashMap, path::Path};
use std::{collections::BTreeMap, path::Path};

use crate::builder_error::BuilderError;

Expand All @@ -32,7 +32,7 @@ pub struct CrateInfo {
/// Crate version.
pub version: String,
/// Crate features.
pub features: HashMap<String, Vec<String>>,
pub features: BTreeMap<String, Vec<String>>,
}

impl CrateInfo {
Expand Down

0 comments on commit efcb985

Please sign in to comment.