-
Notifications
You must be signed in to change notification settings - Fork 225
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into ao-kvdb-sled
* master: parity-util-mem: prepare release for 0.5.2 (#359) travis: test parity-util-mem on android (#358) parity-util-mem: update mimalloc feature (#352) kvdb: remove parity-bytes dependency (#351) parity-util-mem: use malloc for usable_size on android (#355) CI: troubleshoot macOS build (#356)
- Loading branch information
Showing
8 changed files
with
28 additions
and
28 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "parity-util-mem" | ||
version = "0.5.1" | ||
version = "0.5.2" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
repository = "https://github.com/paritytech/parity-common" | ||
description = "Collection of memory related utilities" | ||
|
@@ -13,13 +13,8 @@ dlmalloc = { version = "0.1.3", features = ["global"], optional = true } | |
wee_alloc = { version = "0.4.5", optional = true } | ||
lru = { version = "0.4", optional = true } | ||
hashbrown = { version = "0.6", optional = true } | ||
# from https://github.com/microsoft/mimalloc: | ||
# mimalloc can be built in secure mode, | ||
# adding guard pages, randomized allocation, encrypted free lists, etc. | ||
# to protect against various heap vulnerabilities. | ||
# The performance penalty is only around 3% on average over our benchmarks. | ||
mimallocator = { version = "0.1.3", features = ["secure"], optional = true } | ||
mimalloc-sys = { version = "0.1.6", optional = true } | ||
mimalloc = { version = "0.1.18", optional = true } | ||
libmimalloc-sys = { version = "0.1.14", optional = true } | ||
parity-util-mem-derive = { path = "derive", version = "0.1" } | ||
impl-trait-for-tuples = "0.1.3" | ||
|
||
|
@@ -45,7 +40,7 @@ weealloc-global = ["wee_alloc", "estimate-heapsize"] | |
# use jemalloc as global allocator | ||
jemalloc-global = ["jemallocator"] | ||
# use mimalloc as global allocator | ||
mimalloc-global = ["mimallocator", "mimalloc-sys"] | ||
mimalloc-global = ["mimalloc", "libmimalloc-sys"] | ||
# implement additional types | ||
ethereum-impls = ["ethereum-types", "primitive-types"] | ||
# Full estimate: no call to allocator | ||
|
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