mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-24 13:35:41 +00:00
More dependency cleanup (#825)
* Removes `rlp` dependency * Enable warnings about unused crates in the CI * Remove all the unused crates * Make tests working again
This commit is contained in:
@@ -11,7 +11,6 @@ rustc_version = "0.2"
|
||||
wasmi = { version = "0.4", optional = true }
|
||||
substrate-primitives = { path = "../primitives", default-features = false }
|
||||
sr-std = { path = "../sr-std", default-features = false }
|
||||
sr-io = { path = "../sr-io", default-features = false }
|
||||
parity-codec = { version = "2.0", default-features = false }
|
||||
|
||||
[dev-dependencies]
|
||||
@@ -25,7 +24,6 @@ std = [
|
||||
"substrate-primitives/std",
|
||||
"sr-std/std",
|
||||
"parity-codec/std",
|
||||
"sr-io/std",
|
||||
]
|
||||
nightly = []
|
||||
strict = []
|
||||
|
||||
@@ -43,11 +43,11 @@
|
||||
#![cfg_attr(not(feature = "std"), feature(core_intrinsics))]
|
||||
#![cfg_attr(not(feature = "std"), feature(alloc))]
|
||||
|
||||
extern crate parity_codec as codec;
|
||||
extern crate sr_io as runtime_io;
|
||||
#[cfg_attr(not(feature = "std"), macro_use)]
|
||||
extern crate sr_std as rstd;
|
||||
extern crate substrate_primitives as primitives;
|
||||
#[cfg(not(feature = "std"))]
|
||||
extern crate parity_codec as codec;
|
||||
|
||||
#[cfg(test)]
|
||||
extern crate wabt;
|
||||
|
||||
Reference in New Issue
Block a user