Unverified Commit 31fb8fed authored by Andronik Ordian's avatar Andronik Ordian Committed by GitHub
Browse files

update most of the dependencies (#1946)

* update tiny-keccak to 0.2

* update deps except bitvec and shared_memory

* fix some warning after futures upgrade

* remove useless package rename caused by bug in cargo-upgrade

* revert parity-util-mem *

* remove unused import

* cargo update

* remove all renames on parity-scale-codec

* remove the leftovers

* remove unused dep
parent 120d5dde
......@@ -23,7 +23,7 @@
#![no_std]
extern crate alloc;
use codec::{Encode, Decode};
use parity_scale_codec::{Encode, Decode};
pub mod v0;
......
......@@ -17,7 +17,7 @@
//! Support datastructures for `MultiLocation`, primarily the `Junction` datatype.
use alloc::vec::Vec;
use codec::{self, Encode, Decode};
use parity_scale_codec::{self, Encode, Decode};
/// A global identifier of an account-bearing consensus system.
#[derive(Clone, Eq, PartialEq, Ord, PartialOrd, Encode, Decode, Debug)]
......
......@@ -19,7 +19,7 @@
use core::{result, convert::TryFrom};
use alloc::{boxed::Box, vec::Vec};
use codec::{self, Encode, Decode};
use parity_scale_codec::{self, Encode, Decode};
use super::{VersionedXcm, VersionedMultiAsset};
mod junction;
......
......@@ -19,7 +19,7 @@
use core::{result, convert::TryFrom};
use alloc::vec::Vec;
use codec::{self, Encode, Decode};
use parity_scale_codec::{self, Encode, Decode};
use super::{MultiLocation, VersionedMultiAsset};
/// A general identifier for an instance of a non-fungible asset class.
......
......@@ -18,7 +18,7 @@
use core::{result, mem, convert::TryFrom};
use codec::{self, Encode, Decode};
use parity_scale_codec::{self, Encode, Decode};
use super::Junction;
use crate::VersionedMultiLocation;
......
......@@ -17,7 +17,7 @@
//! Version 0 of the Cross-Consensus Message format data structures.
use alloc::vec::Vec;
use codec::{self, Encode, Decode};
use parity_scale_codec::{self, Encode, Decode};
use super::{MultiAsset, MultiLocation};
/// An instruction to be executed on some or all of the assets in holding, used by asset-related XCM messages.
......
......@@ -17,7 +17,7 @@
//! Cross-Consensus Message format data structures.
use core::result;
use codec::{Encode, Decode};
use parity_scale_codec::{Encode, Decode};
use super::{MultiLocation, Xcm};
......
......@@ -6,7 +6,7 @@ description = "Tools & types for building with XCM and its executor."
version = "0.8.22"
[dependencies]
codec = { package = "parity-scale-codec", version = "1.3.0", default-features = false, features = ["derive"] }
parity-scale-codec = { version = "1.3.5", default-features = false, features = ["derive"] }
xcm = { path = "..", default-features = false }
xcm-executor = { path = "../xcm-executor", default-features = false }
sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
......@@ -21,7 +21,7 @@ polkadot-parachain = { path = "../../parachain", default-features = false }
[features]
default = ["std"]
std = [
"codec/std",
"parity-scale-codec/std",
"xcm/std",
"xcm-executor/std",
"sp-std/std",
......
......@@ -18,7 +18,7 @@ use sp_std::marker::PhantomData;
use sp_io::hashing::blake2_256;
use sp_runtime::traits::AccountIdConversion;
use frame_support::traits::Get;
use codec::Encode;
use parity_scale_codec::Encode;
use xcm::v0::{MultiLocation, NetworkId, Junction};
use xcm_executor::traits::LocationConversion;
......
......@@ -6,8 +6,8 @@ description = "An abstract and configurable XCM message executor."
version = "0.8.22"
[dependencies]
impl-trait-for-tuples = "0.1.3"
codec = { package = "parity-scale-codec", version = "1.3.0", default-features = false, features = ["derive"] }
impl-trait-for-tuples = "0.2.0"
parity-scale-codec = { version = "1.3.5", default-features = false, features = ["derive"] }
xcm = { path = "..", default-features = false }
sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
......@@ -19,7 +19,7 @@ frame-support = { git = "https://github.com/paritytech/substrate", branch = "mas
[features]
default = ["std"]
std = [
"codec/std",
"parity-scale-codec/std",
"xcm/std",
"sp-std/std",
"sp-io/std",
......
......@@ -18,7 +18,7 @@
use sp_std::{prelude::*, marker::PhantomData, convert::TryInto};
use frame_support::{ensure, dispatch::Dispatchable};
use codec::Decode;
use parity_scale_codec::Decode;
use xcm::v0::{
Xcm, Order, ExecuteXcm, SendXcm, Error as XcmError, Result as XcmResult,
MultiLocation, MultiAsset, Junction,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment