remove prelude from core, use alloc directly

This commit is contained in:
Tadeo hepperle
2024-02-02 09:42:24 +01:00
parent 6236c49e3c
commit e427529341
25 changed files with 63 additions and 124 deletions
+1 -1
View File
@@ -675,9 +675,9 @@ version = "0.34.0"
dependencies = [
"base58",
"blake2",
"cfg-if",
"derivative",
"derive_more",
"either",
"frame-metadata 16.0.0",
"hex",
"impl-serde",
+2 -1
View File
@@ -36,6 +36,7 @@ extern crate alloc;
// Note: Panics in this function will lead to `Aborted (core dumped)` and a non-zero exit status => suitable for CI tests.
fn run_tests() {
subxt_metadata_test();
subxt_core_test();
}
/// Makes sure, subxt-metadata works in a no-std-context:
@@ -49,5 +50,5 @@ fn subxt_metadata_test() {
}
fn subxt_core_test() {
let era = subxt_core::utils::Era::Immortal;
let _ = subxt_core::utils::Era::Immortal;
}