Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Deduplicating crate dependencies (part 1 of n) #11606

Merged
merged 1 commit into from
Apr 7, 2020

Conversation

shergin
Copy link

@shergin shergin commented Apr 6, 2020

This fixes (partially) #11468.
The change includes:

arrayvec
crossbeam-deque
crossbeam-epoch
crossbeam-utils
home

Copy link
Collaborator

@niklasad1 niklasad1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you but it doesn't compile.

Update util/io/src/service_non_mio.rs to work with the updated crossbeam crates

@ordian
Copy link
Collaborator

ordian commented Apr 6, 2020

@shergin thanks for looking into this! I should point out that some of the duplicates in #11468 would be hard to get rid off. E.g. tokio 0.1 depends on old versions of several libs and upgrading to tokio 0.2 would be a substantial refactoring (which is outside of the scope of #11468).
(edited your comment not to auto-close the issue).

@ordian ordian added A3-inprogress ⏳ Pull request is in progress. No review needed at this stage. M5-dependencies 🖇 Dependencies. labels Apr 6, 2020
@shergin
Copy link
Author

shergin commented Apr 6, 2020

@niklasad1 Will fix! Thank you! I will run full test suite before updating the PR.

@ordian Thank you for heads up! Yeah, I will try to do that iteratively. Sounds like a cool opportunity to learn more about tokio. 😃

This (partially) fixes openethereum#11468.
The change includes:
```
arrayvec
base64
crossbeam-deque
crossbeam-epoch
crossbeam-utils
home
idna
impl-serde
keccak-hasher
lock_api
miow
num-traits
parking_lot
parking_lot_core
percent-encoding
```
@niklasad1
Copy link
Collaborator

Sounds like a cool opportunity to learn more about tokio.

I would suggest another introduction to tokio because it would require to change to futures v0.3 or use some futures compat which is a very involved task.

@ordian ordian added A8-looksgood 🦄 Pull request is reviewed well. and removed A3-inprogress ⏳ Pull request is in progress. No review needed at this stage. labels Apr 7, 2020
@ordian ordian merged commit d785655 into openethereum:master Apr 7, 2020
dvdplm added a commit that referenced this pull request Apr 14, 2020
* master: (25 commits)
  Update .gitmodules (#11628)
  ethcore/res: activate ecip-1088 phoenix on classic (#11598)
  Upgrade parity-common deps to latest (#11620)
  Fix Goerli syncing (#11604)
  deps: switch to upstream ctrlc (#11617)
  Deduplicating crate dependencies (part 3 of n) (#11614)
  Deduplicating crate dependencies (part 2 of n, `slab`) (#11613)
  Actually save ENR on creation and modification (#11602)
  Activate POSDAO on xDai chain and update bootnodes (#11610)
  Activate on-chain randomness in POA Core (#11609)
  Deduplicating crate dependencies (part 1 of n) (#11606)
  Update enodes for POA Sokol (#11611)
  Remove .git folder from dogerignore file so vergen library can get build date and commit hash in the binary generatio vergen library can get build date and commit hash in the binary generation (#11608)
  Reduced gas cost for static calls made to precompiles EIP2046/1352 (#11583)
  [easy] `ethcore-bloom-journal` was renamed to `accounts-bloom` (#11605)
  Use serde_json to export hardcoded sync (#11601)
  Node Discovery v4 ENR Extension (EIP-868) (#11540)
  Fix compile warnings (#11595)
  Update version to 3.0.0-alpha.1 (#11592)
  ethcore/res: bump canon fork hash for mordor and kotti testnets (#11584)
  ...
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well. M5-dependencies 🖇 Dependencies.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants