Skip to content

Commit

Permalink
bump parity-util-mem (#376)
Browse files Browse the repository at this point in the history
* parity-util-mem: bump minor version

* parity-util-mem: update the changelog

* parity-util-mem: update README
  • Loading branch information
ordian authored Apr 15, 2020
1 parent ef69ef1 commit b99e466
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion parity-util-mem/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ The format is based on [Keep a Changelog].
[Keep a Changelog]: http://keepachangelog.com/en/1.0.0/

## [Unreleased]
### Breaking

## [0.6.1] - 2020-04-15
- Fix compilation on Windows for no-std. [#375](https://github.com/paritytech/parity-common/pull/375)
- Prevent multiple versions from being linked into the same program. [#363](https://github.com/paritytech/parity-common/pull/363)

## [0.6.0] - 2020-03-13
Expand Down
2 changes: 1 addition & 1 deletion parity-util-mem/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "parity-util-mem"
version = "0.6.0"
version = "0.6.1"
authors = ["Parity Technologies <[email protected]>"]
repository = "https://github.com/paritytech/parity-common"
description = "Collection of memory related utilities"
Expand Down
4 changes: 2 additions & 2 deletions parity-util-mem/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ it must be the sole place where a global allocator is defined.
The only exception to this rule is when used in a `no_std` context or when the `estimate-heapsize` feature is used.

Because of that, it must be present in the dependency tree with a single version.
Starting from version 0.7, having duplicate versions of `parity-util-mem` will lead
to a compile-time error. It still will be possible to have 0.6 and 0.7 versions in the same binary though.
Starting from version 0.6.1, having duplicate versions of `parity-util-mem` will lead
to a compile-time error. It still will be possible to have 0.5 and 0.6.1 versions in the same binary though.

Unless heeded you risk UB; see discussion in [issue 364].

Expand Down

0 comments on commit b99e466

Please sign in to comment.