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

feat(transport): Make service router independent from transport #1572

Merged
merged 1 commit into from
Jun 13, 2024

Conversation

tottoto
Copy link
Collaborator

@tottoto tottoto commented Nov 18, 2023

Allows users to use the service router independent from transport feature.

@tottoto tottoto changed the title feat(transport): Add router feature feat(transport): Make service router independent from transport Nov 18, 2023
@tottoto tottoto force-pushed the router-feature branch 3 times, most recently from 24f6cf8 to 8506612 Compare January 5, 2024 21:59
@tottoto tottoto force-pushed the router-feature branch 2 times, most recently from 7dc3707 to e9a5713 Compare February 9, 2024 15:37
@tottoto tottoto force-pushed the router-feature branch 2 times, most recently from 0945556 to 6847a34 Compare March 1, 2024 10:45
pub use self::router::Routes;
pub use self::router::RoutesBuilder;
/// A deprecated re-export. Please use `tonic::service::{Routes, RoutesBuilder}` directly.
pub use crate::service::{Routes, RoutesBuilder};
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we put #[deprecated] on these deprecated re-exports? Why/why not?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is because of the limitation of #[deprecated].

rust-lang/rust#30827.

@tottoto
Copy link
Collaborator Author

tottoto commented May 21, 2024

Added a change which makes Routes::prepare public.

@tottoto tottoto force-pushed the router-feature branch 3 times, most recently from ab3dbc3 to b419bb2 Compare May 26, 2024 11:18
@tottoto tottoto mentioned this pull request May 28, 2024
17 tasks
Copy link
Collaborator

@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.

LGTM!

@djc djc added this pull request to the merge queue Jun 13, 2024
Merged via the queue into hyperium:master with commit da48235 Jun 13, 2024
16 checks passed
@tottoto tottoto deleted the router-feature branch June 13, 2024 10:02
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.

None yet

2 participants