mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-19 15:45:41 +00:00
Add FromStr constraint to BlockNumber, bump version (#56)
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "substrate-subxt"
|
name = "substrate-subxt"
|
||||||
version = "0.3.0"
|
version = "0.4.0"
|
||||||
authors = ["Parity Technologies <admin@parity.io>"]
|
authors = ["Parity Technologies <admin@parity.io>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
|
|||||||
+2
-1
@@ -71,7 +71,8 @@ pub trait System: 'static + Eq + Clone + Debug {
|
|||||||
+ Default
|
+ Default
|
||||||
+ Bounded
|
+ Bounded
|
||||||
+ Copy
|
+ Copy
|
||||||
+ std::hash::Hash;
|
+ std::hash::Hash
|
||||||
|
+ std::str::FromStr;
|
||||||
|
|
||||||
/// The output of the `Hashing` function.
|
/// The output of the `Hashing` function.
|
||||||
type Hash: Parameter
|
type Hash: Parameter
|
||||||
|
|||||||
Reference in New Issue
Block a user