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/src/lib: Refactor trait usage #2182

Merged
merged 3 commits into from
Aug 9, 2021
Merged

Commits on Aug 6, 2021

  1. swarm/src/lib: Refactor trait usage

    - Removes the `Swarm` type alias, renaming `ExpandedSwarm` to `Swarm`.
    - Remove `TInEvent`, `TOutEvent` and `THandler` trait parameters on
    `Swarm`, instead deriving them through `TBehaviour`. Move derive logic
    to separate type aliases.
    - Simplify trait bounds on `Swarm` main `impl` and `Stream` `impl`.
    mxinden committed Aug 6, 2021
    Configuration menu
    Copy the full SHA
    572b09b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0bc0405 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2021

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