mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-07 11:21:07 +00:00
Fix std/core crates (#2489)
- Add convert - Add btree_set for without_std
This commit is contained in:
1 parent
9f61b95ecd
commit
1436e6d734
2 files changed
+3
No files matched your search
@@ -32,6 +32,7 @@ pub use std::slice;
|
|||||||
pub use std::vec;
|
pub use std::vec;
|
||||||
pub use std::default;
|
pub use std::default;
|
||||||
pub use std::result;
|
pub use std::result;
|
||||||
|
pub use std::convert;
|
||||||
|
|
||||||
pub mod collections {
|
pub mod collections {
|
||||||
pub use std::collections::btree_map;
|
pub use std::collections::btree_map;
|
||||||
|
|||||||
@@ -64,10 +64,12 @@ pub use core::ptr;
|
|||||||
pub use core::slice;
|
pub use core::slice;
|
||||||
pub use core::default;
|
pub use core::default;
|
||||||
pub use core::result;
|
pub use core::result;
|
||||||
|
pub use core::convert;
|
||||||
// We are trying to avoid certain things here, such as `core::string`
|
// We are trying to avoid certain things here, such as `core::string`
|
||||||
// (if you need `String` you most probably doing something wrong, since
|
// (if you need `String` you most probably doing something wrong, since
|
||||||
// runtime doesn't require anything human readable).
|
// runtime doesn't require anything human readable).
|
||||||
|
|
||||||
pub mod collections {
|
pub mod collections {
|
||||||
pub use alloc::collections::btree_map;
|
pub use alloc::collections::btree_map;
|
||||||
|
pub use alloc::collections::btree_set;
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user