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

core/muxing: Force StreamMuxer::Substream to implement Async{Read,Write} #2707

Merged
merged 10 commits into from Jun 23, 2022

Commits on Jun 20, 2022

  1. core/muxing: Introduce SubstreamBox which implements `Async{Read,Wr…

    …ite}`
    
    Instead of delegating reading and writing of the substream to the `StreamMuxer`,
    we introduce a `SubstreamBox` which implements `Async{Read,Write}`. This is
    used as the `Substream` associated type in `StreamMuxerBox`. This allows us to
    delete the `read_substream` etc functions from the `StreamMuxer` trait.
    thomaseizinger committed Jun 20, 2022
    Configuration menu
    Copy the full SHA
    50f703f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8db3eef View commit details
    Browse the repository at this point in the history
  3. Fix intra-doc link

    thomaseizinger committed Jun 20, 2022
    Configuration menu
    Copy the full SHA
    f014c29 View commit details
    Browse the repository at this point in the history
  4. Remove unnecessary bounds

    These are already implied through the associated type.
    thomaseizinger committed Jun 20, 2022
    Configuration menu
    Copy the full SHA
    09fcb44 View commit details
    Browse the repository at this point in the history
  5. Update docs

    thomaseizinger committed Jun 20, 2022
    Configuration menu
    Copy the full SHA
    ceed232 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2022

  1. Update core/src/muxing/boxed.rs

    Co-authored-by: Max Inden <mail@max-inden.de>
    thomaseizinger and mxinden committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    6597a54 View commit details
    Browse the repository at this point in the history
  2. *: Bump libp2p-core to v0.34.0

    mxinden authored and thomaseizinger committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    e52ea08 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e23b3f2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    310d391 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2022

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