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

Fix tokio support for async_tls #129

Merged
merged 1 commit into from
Feb 16, 2024
Merged

Fix tokio support for async_tls #129

merged 1 commit into from
Feb 16, 2024

Conversation

obmarg
Copy link
Contributor

@obmarg obmarg commented Jan 26, 2024

Currently if you try to compile async-tungstenite with cargo build --features tokio-runtime,async-tls you get:

error[E0423]: expected function, tuple struct or tuple variant, found struct `TokioAdapter`
   --> src/tokio/async_tls.rs:34:9
    |
34  |           TokioAdapter(stream),
    |           ^^^^^^^^^^^^^^^^^^^^ help: use struct literal syntax instead: `TokioAdapter { inner: val }`
    |
   ::: src/tokio.rs:441:1

This PR fixes that.

@sdroege sdroege merged commit 462ab0c into sdroege:main Feb 16, 2024
8 checks passed
@obmarg obmarg deleted the patch-1 branch February 29, 2024 14:03
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