Skip to content

misc: make RwStreamSink an implementation detail of the memory transport #4345

@thomaseizinger

Description

@thomaseizinger

The crate rw-stream-sink is a top-level crate in our misc/ directory but it is only in use in two places:

  • For the implementation of the memory transport
  • Within a test in multistream-select

To lower the maintenance effort of the repository, I'd like this crate to be inlined into the memory-transport implementation, ideally as an implementation detail (i.e. not part of the public API).

rw-stream-sink is still published on crates.io, so my suggestion would be to simply depend on it via that for the multistream-select test. This allows us to delete the crate from our repository and move the code into the memory-transport implementation.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions