Skip to content

Commit

Permalink
Remove in-tree bounded types and use bounded-collections crate (parit…
Browse files Browse the repository at this point in the history
…ytech#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
  • Loading branch information
KiChjang authored and ukint-vs committed Apr 10, 2023
1 parent a90bced commit e3d2082
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 }
wasmi = { version = "0.13", optional = true, features = ["virtual_memory"] }
Expand Down Expand Up @@ -81,6 +82,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 e3d2082

Please sign in to comment.