Skip to content

Conversation

@tottoto
Copy link
Collaborator

@tottoto tottoto commented Feb 9, 2024

Motivation

Allows users to use transport server and channel features independently.

Solution

Warning

This proposal includes a breaking change.

Depends on #1574. Adds a new feature server to enable server implementation in transport module and makes server feature and channel feature independent.

Copy link
Contributor

@djc djc left a comment

Choose a reason for hiding this comment

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

Very nice!

#[cfg_attr(docsrs, doc(cfg(feature = "tls")))]
pub use self::tls::Identity;

#[cfg(feature = "channel")]
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't understand how your commit message describes this change? It seems to remove this instance and makes another instance private, but this commit doesn't "move" anything in the sense of creating something new.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The definition of BoxFuture used in the implementation of the channel feature is moved to the channel module.

@djc djc added this pull request to the merge queue Jun 20, 2024
@djc
Copy link
Contributor

djc commented Jun 20, 2024

Ah, sorry, I just missed it for some reason.

Merged via the queue into hyperium:master with commit 654289f Jun 20, 2024
@tottoto tottoto deleted the server-feature branch June 20, 2024 12:11
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.

2 participants