mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-12 22:45:49 +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:
@@ -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