Skip to content
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

Bump once_cell from 1.9.0 to 1.10.0 #3263

Merged
merged 2 commits into from Mar 9, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 4, 2022

Bumps once_cell from 1.9.0 to 1.10.0.

Changelog

Sourced from once_cell's changelog.

Changelog

1.11

  • Add OnceCell::with_value to create initialized OnceCell at compile time.
  • Improve Clone implementation for OnceCell.

1.10

  • upgrade parking_lot to 0.12.0 (note that this bumps MSRV with parking_lot feature enabled to 1.49.0).

1.9

  • Added an atomic-polyfill optional dependency to compile race on platforms without atomics

1.8.0

  • Add try_insert API -- a version of set that returns a reference.

1.7.2

  • Improve code size when using parking_lot feature.

1.7.1

  • Fix race::OnceBox<T> to also impl Default even if T doesn't impl Default.

1.7.0

  • Hide the race module behind (default) race feature. Turns out that adding race by default was a breaking change on some platforms without atomics. In this release, we make the module opt-out. Technically, this is a breaking change for those who use race with no_default_features. Given that the race module itself only several days old, the breakage is deemed acceptable.

1.6.0

  • Add Lazy::into_value
  • Stabilize once_cell::race module for "first one wins" no_std-compatible initialization flavor.
  • Migrate from deprecated compare_and_swap to compare_exchange.

1.5.2

  • OnceBox API uses Box<T>. This a breaking change to unstable API.

1.5.1

  • MSRV is increased to 1.36.0.
  • document once_cell::race module.

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 4, 2022
@codecov
Copy link

codecov bot commented Mar 4, 2022

Codecov Report

Merging #3263 (e427674) into master (1fe8d69) will increase coverage by 0.06%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3263      +/-   ##
==========================================
+ Coverage   31.91%   31.96%   +0.06%     
==========================================
  Files         500      500              
  Lines       46211    46211              
  Branches    20894    20894              
==========================================
+ Hits        14745    14769      +24     
+ Misses      17806    17790      -16     
+ Partials    13660    13652       -8     
Flag Coverage Δ
unittests 31.96% <ø> (+0.06%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...m/types/src/account_config/events/config_change.rs 66.67% <0.00%> (-33.33%) ⬇️
vm/natives/src/account.rs 12.50% <0.00%> (-18.75%) ⬇️
test-helper/src/dummy_network_service.rs 22.23% <0.00%> (-14.81%) ⬇️
vm/natives/src/lib.rs 80.00% <0.00%> (-10.00%) ⬇️
commons/service-registry/src/service_actor.rs 38.71% <0.00%> (-4.30%) ⬇️
commons/accumulator/src/tree.rs 52.69% <0.00%> (-3.90%) ⬇️
...ns/forkable-jellyfish-merkle/src/tree_cache/mod.rs 71.43% <0.00%> (-3.57%) ⬇️
state/state-tree/src/state_tree.rs 51.05% <0.00%> (-3.49%) ⬇️
vm/types/src/on_chain_config/mod.rs 41.10% <0.00%> (-2.73%) ⬇️
commons/service-registry/src/service_ref.rs 64.87% <0.00%> (-2.70%) ⬇️
... and 73 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1fe8d69...e427674. Read the comment docs.

@jolestar jolestar requested a review from nkysg March 7, 2022 00:57
@dependabot dependabot bot force-pushed the dependabot/cargo/once_cell-1.10.0 branch 4 times, most recently from 90c7aba to 683801a Compare March 9, 2022 01:20
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](matklad/once_cell@v1.9.0...v1.10.0)

---
updated-dependencies:
- dependency-name: once_cell
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/cargo/once_cell-1.10.0 branch from 683801a to 85f2450 Compare March 9, 2022 01:59
@sanlee42 sanlee42 force-pushed the dependabot/cargo/once_cell-1.10.0 branch from 5c95f63 to e427674 Compare March 9, 2022 02:56
@github-actions
Copy link

github-actions bot commented Mar 9, 2022

Benchmark for 34e9759

Click to view benchmark
Test Base PR %
accumulator_append 591.6±14.34µs 590.4±12.40µs -0.20%
block_apply/block_apply_10 266.8±0.95ms 266.0±1.47ms -0.30%
block_apply/block_apply_1000 27.3±0.09s 27.1±0.03s -0.73%
get_with_proof/db_store 35.9±0.31µs 36.0±0.40µs +0.28%
get_with_proof/mem_store 31.1±0.27µs 31.0±0.28µs -0.32%
put_and_commit/db_store/1 94.7±4.81µs 94.7±4.64µs 0.00%
put_and_commit/db_store/10 851.2±41.98µs 850.0±38.51µs -0.14%
put_and_commit/db_store/100 7.3±0.28ms 7.3±0.31ms 0.00%
put_and_commit/db_store/5 435.6±22.16µs 431.3±21.48µs -0.99%
put_and_commit/db_store/50 3.8±0.17ms 3.8±0.17ms 0.00%
put_and_commit/mem_store/1 61.0±5.42µs 61.3±5.37µs +0.49%
put_and_commit/mem_store/10 574.1±48.35µs 573.6±47.96µs -0.09%
put_and_commit/mem_store/100 5.6±0.80ms 5.6±0.80ms 0.00%
put_and_commit/mem_store/5 291.6±24.55µs 287.2±24.40µs -1.51%
put_and_commit/mem_store/50 2.8±0.18ms 2.8±0.18ms 0.00%
query_block/query_block_in(10)_times(100) 3.8±0.12ms 3.9±0.10ms +2.63%
query_block/query_block_in(10)_times(1000) 38.9±0.97ms 39.4±0.92ms +1.29%
query_block/query_block_in(10)_times(10000) 392.5±6.46ms 384.3±8.55ms -2.09%
query_block/query_block_in(1000)_times(100) 968.1±6.34µs 950.5±6.18µs -1.82%
query_block/query_block_in(1000)_times(1000) 9.6±0.07ms 9.5±0.09ms -1.04%
query_block/query_block_in(1000)_times(10000) 95.5±1.78ms 95.2±0.60ms -0.31%
storage_transaction 1037.5±266.80µs 1052.0±284.46µs +1.40%
vm/transaction_execution/1 315.5±1.20ms 317.4±2.53ms +0.60%
vm/transaction_execution/10 99.6±0.74ms 99.0±0.42ms -0.60%
vm/transaction_execution/20 91.3±1.22ms 91.2±0.38ms -0.11%
vm/transaction_execution/5 121.4±1.22ms 121.1±0.50ms -0.25%
vm/transaction_execution/50 104.4±3.34ms 103.6±1.45ms -0.77%

@sanlee42 sanlee42 merged commit e1ea145 into master Mar 9, 2022
@sanlee42 sanlee42 deleted the dependabot/cargo/once_cell-1.10.0 branch March 9, 2022 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant