mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-25 11:59:56 +00:00
Split off TypeId so as not to pull in sr-io (#3740)
* Add type-id * Builds with std now. * Fix for cargo * Remove unneeded stuff * Move TypeId.
This commit is contained in:
1 parent
18fa1d15ce
commit
251d33cb74
3 files changed
+8
-9
No files matched your search
@@ -219,3 +219,8 @@ impl codec::Decode for NeverNativeValue {
|
||||
}
|
||||
}
|
||||
|
||||
/// Provide a simple 4 byte identifier for a type.
|
||||
pub trait TypeId {
|
||||
/// Simple 4 byte identifier.
|
||||
const TYPE_ID: [u8; 4];
|
||||
}
|
||||
Reference in new issue
Block a user