Skip to content

Commit

Permalink
Merge branch 'pin-project-lite'
Browse files Browse the repository at this point in the history
  • Loading branch information
de-vri-es committed Jul 31, 2023
2 parents 0117d1b + 3ad6f77 commit 931f2e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
use hyper::{Body, Request, Response};
use std::task::{Context, Poll};
use std::pin::Pin;
use pin_project_lite::pin_project;

use tungstenite::{Error, error::ProtocolError};
use tungstenite::handshake::derive_accept_key;
Expand All @@ -116,7 +117,7 @@ pub use tungstenite;

pub use tokio_tungstenite::WebSocketStream;

pin_project_lite::pin_project! {
pin_project! {
/// A future that resolves to a websocket stream when the associated HTTP upgrade completes.
#[derive(Debug)]
pub struct HyperWebsocket {
Expand Down

0 comments on commit 931f2e9

Please sign in to comment.