Remove in-tree bounded types and use bounded-collections crate (#13243)

* Remove in-tree bounded types and use bounded-collections crate

* Fixes

* Bump bounded-collections version

* cargo fmt

* Bump bounded-collections

* Only export non-bounded types at the top level

* Fixes

* Bump bounded-collections
This commit is contained in:
Keith Yeung
2023-02-03 12:32:55 -03:00
committed by GitHub
parent f09ea9e6f3
commit c653c34070
7 changed files with 24 additions and 3175 deletions
+15 -2
View File
@@ -699,6 +699,18 @@ version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8d696c370c750c948ada61c69a0ee2cbbb9c50b1019ddb86d9317157a99c2cae"
[[package]]
name = "bounded-collections"
version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "de2aff4807e40f478132150d80b031f2461d88f061851afcab537d7600c24120"
dependencies = [
"log",
"parity-scale-codec",
"scale-info",
"serde",
]
[[package]]
name = "bs58"
version = "0.4.0"
@@ -6722,9 +6734,9 @@ dependencies = [
[[package]]
name = "parity-scale-codec"
version = "3.2.2"
version = "3.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e7ab01d0f889e957861bc65888d5ccbe82c158d0270136ba46820d43837cdf72"
checksum = "c3840933452adf7b3b9145e27086a5a3376c619dca1a21b1e5a5af0d54979bed"
dependencies = [
"arrayvec 0.7.2",
"bitvec",
@@ -9849,6 +9861,7 @@ dependencies = [
"base58",
"bitflags",
"blake2",
"bounded-collections",
"criterion",
"dyn-clonable",
"ed25519-zebra",