-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure bounded-collections compiles under no_std (#712)
* Ensure bounded-collections compiles under no_std * Add README.md * Fixes * Add CHANGELOG.md to bounded-collections * Add CI check for bounded-collections
- Loading branch information
Showing
9 changed files
with
52 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Changelog | ||
|
||
The format is based on [Keep a Changelog]. | ||
|
||
[Keep a Changelog]: http://keepachangelog.com/en/1.0.0/ | ||
|
||
## [0.1.2] - 2023-01-27 | ||
- Ensured `bounded-collections` crate compiles under `no_std`. [#712](https://github.com/paritytech/parity-common/pull/712) | ||
|
||
## [0.1.1] - 2023-01-26 | ||
- Made `alloc` public. [#711](https://github.com/paritytech/parity-common/pull/711) | ||
- Removed a reference to `sp_core` in the comments. [#710](https://github.com/paritytech/parity-common/pull/710) | ||
|
||
## [0.1.0] - 2023-01-26 | ||
- Wrote better description for `bounded-collections`. [#709](https://github.com/paritytech/parity-common/pull/709) | ||
- Added `bounded-collections` crate. [#708](https://github.com/paritytech/parity-common/pull/708) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "bounded-collections" | ||
version = "0.1.1" | ||
version = "0.1.2" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
license = "MIT OR Apache-2.0" | ||
homepage = "https://github.com/paritytech/parity-common" | ||
|
@@ -9,7 +9,7 @@ edition = "2021" | |
rust-version = "1.60.0" | ||
|
||
[dependencies] | ||
serde = { version = "1.0.101", default-features = false } | ||
serde = { version = "1.0.101", default-features = false, optional = true } | ||
codec = { version = "3.0.0", default-features = false, features = ["max-encoded-len"], package = "parity-scale-codec" } | ||
scale-info = { version = ">=1.0, <3", features = ["derive"], default-features = false } | ||
log = { version = "0.4.17", default-features = false } | ||
|
@@ -19,4 +19,10 @@ serde_json = "1.0.41" | |
|
||
[features] | ||
default = ["std"] | ||
std = ["serde/std", "serde/derive"] | ||
std = [ | ||
"log/std", | ||
"codec/std", | ||
"scale-info/std", | ||
"serde", | ||
"serde/derive", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Bounded Collections | ||
|
||
Bounded types and their supporting traits. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters