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

swarm/: Support generic connection management through NetworkBehaviour #2828

Closed
wants to merge 12 commits into from

Commits on Aug 14, 2022

  1. Configuration menu
    Copy the full SHA
    3927ca2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7bfdba6 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2022

  1. Configuration menu
    Copy the full SHA
    835394c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    553f280 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2022

  1. swarm-derive/: Add where clause of behaviour to generated out event

    When generating the `OutEvent` for a `NetworkBehaviour`, add the `where` clause of the
    `NetworkBehaviour` `struct` to the generated `enum`.
    mxinden committed Aug 16, 2022
    Configuration menu
    Copy the full SHA
    cb42dd3 View commit details
    Browse the repository at this point in the history
  2. swarm-derive/: Derive Debug for generated OutEvent

    When generating an `OutEvent` `enum` definition for a user, derive `Debug`
    for that `enum`.
    
    Why not derive `Clone`, `PartialEq` and `Eq` for the generated `enum`
    definition?
    
    While I think it is fine to require all sub-`OutEvent`s to implement
    `Debug`, I don't think the same applies to traits like `Clone`. I
    suggest users that need `Clone` to define their own `OutEvent`.
    mxinden committed Aug 16, 2022
    Configuration menu
    Copy the full SHA
    b4f1472 View commit details
    Browse the repository at this point in the history
  3. swarm-derive/: Do the changes

    mxinden committed Aug 16, 2022
    Configuration menu
    Copy the full SHA
    3f58ccd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0e682ec View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2022

  1. Configuration menu
    Copy the full SHA
    ebe1131 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7335a94 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'master' of https://github.com/libp2p/rust-libp2p into g…

    …eneric-connection-management
    mxinden committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    486daba View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2022

  1. Configuration menu
    Copy the full SHA
    a7eb4cb View commit details
    Browse the repository at this point in the history