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

Stable rust: Remove unstable impl trait from Tari comms #3056

Merged

Conversation

sdbondi
Copy link
Member

@sdbondi sdbondi commented Jul 6, 2021

Description

  • Uses async_trait for the comms Transport trait
  • Transport trait results/futures are flattened/simplified
  • Replace impl Trait usage in RPC services to use boxed alternatives
  • Replace impl Trait usage in Tor control port module
  • Include the single remaining still unstable is_unicast_link_local
    function as copied code and remove ip feature.

Motivation and Context

Move towards stable rust
Related to #3034
Ref #3037 #3035

How Has This Been Tested?

Existing tests updated and pass

Checklist:

  • I'm merging against the development branch.
  • I have squashed my commits into a single commit.

@delta1 delta1 mentioned this pull request Jul 6, 2021
8 tasks
delta1
delta1 previously approved these changes Jul 6, 2021
Copy link
Contributor

@delta1 delta1 left a comment

Choose a reason for hiding this comment

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

utACK

- Uses `async_trait` for the comms `Transport` trait
- Transport trait results/futures are flattened/simplified
- Replace impl Trait usage in RPC services to use boxed alternatives
- Replace impl Trait usage in Tor control port module
- Include the single remaining still unstable `is_unicast_link_local`
  function as copied code and remove `ip` feature.
@stringhandler stringhandler changed the base branch from tari-script to development July 7, 2021 09:08
@stringhandler stringhandler dismissed delta1’s stale review July 7, 2021 09:08

The base branch was changed.

@stringhandler stringhandler merged commit 08b019f into tari-project:development Jul 7, 2021
@stringhandler stringhandler mentioned this pull request Jul 7, 2021
@sdbondi sdbondi deleted the comms-remove-impl-trait branch July 8, 2021 06:02
sdbondi added a commit to sdbondi/tari that referenced this pull request Jul 18, 2021
- `Protocol::Dns` variant was missing from the system and tor DNS resolvers
- This allows one to use `/dns` multiaddrs
- [unrelated] async-trait should not be optional since
  tari-project#3056
sdbondi added a commit to sdbondi/tari that referenced this pull request Jul 18, 2021
- `Protocol::Dns` variant was missing from the system and tor DNS resolvers
- This allows one to use `/dns` multiaddrs
- [unrelated] async-trait should not be optional since
  tari-project#3056
sdbondi added a commit to sdbondi/tari that referenced this pull request Jul 18, 2021
- `Protocol::Dns` variant was missing from the system and tor DNS resolvers
- This allows one to use `/dns` multiaddrs
- [unrelated] async-trait should not be optional since
  tari-project#3056
sdbondi added a commit to sdbondi/tari that referenced this pull request Jul 18, 2021
- `Protocol::Dns` variant was missing from the system and tor DNS resolvers
- This allows one to use `/dns` multiaddrs
- [unrelated] async-trait should not be optional since
  tari-project#3056
sdbondi added a commit to sdbondi/tari that referenced this pull request Jul 18, 2021
- `Protocol::Dns` variant was missing from the system and tor DNS resolvers
- This allows one to use `/dns` multiaddrs
- [unrelated] async-trait should not be optional since
  tari-project#3056
Cifko pushed a commit to Cifko/tari that referenced this pull request Jul 21, 2021
- `Protocol::Dns` variant was missing from the system and tor DNS resolvers
- This allows one to use `/dns` multiaddrs
- [unrelated] async-trait should not be optional since
  tari-project#3056
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants