forked from gnzlbg/jemallocator
-
Notifications
You must be signed in to change notification settings - Fork 86
*: bump 0.6.0 #95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
*: bump 0.6.0 #95
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 = "tikv-jemalloc-ctl" | ||
version = "0.5.4" | ||
version = "0.6.0" | ||
authors = [ | ||
"Steven Fackler <[email protected]>", | ||
"Gonzalo Brito Gadeschi <[email protected]>", | ||
|
@@ -26,18 +26,20 @@ is-it-maintained-open-issues = { repository = "tikv/jemallocator" } | |
maintenance = { status = "actively-developed" } | ||
|
||
[dependencies] | ||
tikv-jemalloc-sys = { path = "../jemalloc-sys", version = "0.5.0" } | ||
tikv-jemalloc-sys = { path = "../jemalloc-sys", version = "0.6.0" } | ||
libc = { version = "0.2", default-features = false } | ||
paste = "1" | ||
|
||
[dev-dependencies] | ||
tikv-jemallocator = { path = "../jemallocator", version = "0.5.0" } | ||
tikv-jemallocator = { path = "../jemallocator", version = "0.6.0" } | ||
|
||
[features] | ||
default = [] | ||
stats = ["tikv-jemalloc-sys/stats"] | ||
profiling = ["tikv-jemalloc-sys/profiling"] | ||
use_std = [ "libc/use_std" ] | ||
disable_initial_exec_tls = ["tikv-jemalloc-sys/disable_initial_exec_tls"] | ||
|
||
[package.metadata.docs.rs] | ||
rustdoc-args = [ "--cfg", "jemallocator_docs" ] | ||
features = ["stats", "profiling", "use_std"] |
This file contains hidden or 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 hidden or 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 = "tikv-jemalloc-sys" | ||
version = "0.5.4+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7" | ||
version = "0.6.0+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7" | ||
authors = [ | ||
"Alex Crichton <[email protected]>", | ||
"Gonzalo Brito Gadeschi <[email protected]>", | ||
|
@@ -18,6 +18,7 @@ description = """ | |
Rust FFI bindings to jemalloc | ||
""" | ||
edition = "2018" | ||
rust-version = "1.71.0" | ||
|
||
[badges] | ||
codecov = { repository = "tikv/jemallocator" } | ||
|
@@ -32,7 +33,7 @@ libc = { version = "^0.2.8", default-features = false } | |
cc = "^1.0.13" | ||
|
||
[features] | ||
default = ["stats", "background_threads_runtime_support"] | ||
default = ["background_threads_runtime_support"] | ||
profiling = [] | ||
debug = [] | ||
background_threads_runtime_support = [] | ||
|
This file contains hidden or 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,7 +1,7 @@ | ||
[package] | ||
name = "tikv-jemallocator-global" | ||
# Make sure to update the version in the readme as well: | ||
version = "0.5.0" | ||
version = "0.6.0" | ||
authors = [ | ||
"Gonzalo Brito Gadeschi <[email protected]>", | ||
"The TiKV Project Developers", | ||
|
@@ -26,7 +26,7 @@ is-it-maintained-open-issues = { repository = "tikv/jemallocator" } | |
maintenance = { status = "actively-developed" } | ||
|
||
[dependencies] | ||
tikv-jemallocator = { version = "0.5.0", path = "../jemallocator", optional = true } | ||
tikv-jemallocator = { version = "0.6.0", path = "../jemallocator", optional = true } | ||
cfg-if = "0.1" | ||
|
||
[features] | ||
|
@@ -38,7 +38,7 @@ force_global_jemalloc = [ "tikv-jemallocator" ] | |
# for a particular target, white-list the target explicitly here: | ||
|
||
[target.'cfg(any(target_os = "linux", target_os = "macos", target_os = "freebsd", target_os = "netbsd", target_os = "openbsd"))'.dependencies] | ||
tikv-jemallocator = { version = "0.5.0", path = "../jemallocator", optional = false } | ||
tikv-jemallocator = { version = "0.6.0", path = "../jemallocator", optional = false } | ||
|
||
# FIXME: https://github.com/gnzlbg/jemallocator/issues/91 | ||
# [target.'cfg(target_os = "windows")'.dependencies] | ||
|
This file contains hidden or 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 hidden or 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 hidden or 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,7 +1,7 @@ | ||
[package] | ||
name = "tikv-jemallocator" | ||
# Make sure to update the version in the README as well: | ||
version = "0.5.4" | ||
version = "0.6.0" | ||
authors = [ | ||
"Alex Crichton <[email protected]>", | ||
"Gonzalo Brito Gadeschi <[email protected]>", | ||
|
@@ -32,16 +32,20 @@ maintenance = { status = "actively-developed" } | |
test = false | ||
bench = false | ||
|
||
[[test]] | ||
name = "ffi" | ||
required-features = ["stats"] | ||
|
||
[dependencies] | ||
tikv-jemalloc-sys = { path = "../jemalloc-sys", version = "0.5.0", default-features = false } | ||
tikv-jemalloc-sys = { path = "../jemalloc-sys", version = "0.6.0", default-features = false } | ||
libc = { version = "^0.2.8", default-features = false } | ||
|
||
[dev-dependencies] | ||
paste = "1" | ||
tikv-jemalloc-ctl = { path = "../jemalloc-ctl", version = "0.5.0" } | ||
tikv-jemalloc-ctl = { path = "../jemalloc-ctl", version = "0.6.0" } | ||
|
||
[features] | ||
default = ["stats", "background_threads_runtime_support"] | ||
default = ["background_threads_runtime_support"] | ||
alloc_trait = [] | ||
profiling = ["tikv-jemalloc-sys/profiling"] | ||
debug = ["tikv-jemalloc-sys/debug"] | ||
|
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Considering we are releasing a new minor version, "stats" is removed from the default features to make it easier to control features.
/cc @girlbossceo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any strong reason blocking us from just increasing the patch version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now jemalloc-sys will disable jemalloc stats explicitly if stats feature is not enabled. This may break crates that rely on jemalloc stats but not enable it explicitly. To avoid breaking compatibility (though it's a bug), stats feature was added to the default feature set. But it still breaks those crates that disable the default features. It's more clear to upgrade to a new minor version and ask everyone relies on stats feature to enable it explicitly.