Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Remove in-tree bounded types and use bounded-collections crate (#13243)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
KiChjang authored and Ross Bulat committed Feb 19, 2023
1 parent fe5a4b5 commit 5cc1063
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 3,175 deletions.
17 changes: 15 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions primitives/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ codec = { package = "parity-scale-codec", version = "3.2.2", default-features =
scale-info = { version = "2.1.1", default-features = false, features = ["derive"] }
log = { version = "0.4.17", default-features = false }
serde = { version = "1.0.136", optional = true, features = ["derive"] }
bounded-collections = { version = "0.1.4", default-features = false }
primitive-types = { version = "0.12.0", default-features = false, features = ["codec", "scale-info"] }
impl-serde = { version = "0.4.0", optional = true }
hash-db = { version = "0.15.2", default-features = false }
Expand Down Expand Up @@ -80,6 +81,7 @@ std = [
"thiserror",
"lazy_static",
"parking_lot",
"bounded-collections/std",
"primitive-types/std",
"primitive-types/serde",
"primitive-types/byteorder",
Expand Down
Loading

0 comments on commit 5cc1063

Please sign in to comment.