Add FromStr constraint to BlockNumber, bump version (#56)

This commit is contained in:
Andrew Jones
2019-12-17 12:33:46 +00:00
committed by GitHub
parent 6561535467
commit a9df35c570
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "substrate-subxt"
version = "0.3.0"
version = "0.4.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
+2 -1
View File
@@ -71,7 +71,8 @@ pub trait System: 'static + Eq + Clone + Debug {
+ Default
+ Bounded
+ Copy
+ std::hash::Hash;
+ std::hash::Hash
+ std::str::FromStr;
/// The output of the `Hashing` function.
type Hash: Parameter