Skip to content

Commit

Permalink
Merge pull request #4 from TannerRogalsky/fix-compile-tls
Browse files Browse the repository at this point in the history
Fix compile tls - edits
  • Loading branch information
TannerRogalsky authored Feb 22, 2024
2 parents 5b02957 + 115fc45 commit e490d0c
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,19 @@ jobs:
with:
command: check
args: --tests
- uses: actions-rs/cargo@v1
with:
command: check
args: --features native-tls
- uses: actions-rs/cargo@v1
with:
command: check
args: --features rustls-tls-native-roots
- uses: actions-rs/cargo@v1
with:
command: check
args: --features rustls-tls-webpki-roots


test:
name: Test Suite
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tokio-tungstenite-wasm"
version = "0.2.1"
version = "0.2.0"
description = "A wrapper around websys and tokio-tungstenite that makes it easy to use websockets cross-platform."
repository = "https://github.com/TannerRogalsky/tokio-tungstenite-wasm"
homepage = "https://github.com/TannerRogalsky/tokio-tungstenite-wasm"
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
# tokio-tungstenite-wasm
A wrapper around websys and tokio-tungstenite that makes it easy to use websockets cross-platform.

## Features

As with tungstenite-rs TLS is supported on all platforms using native-tls or rustls through feature flags: native-tls, rustls-tls-native-roots or rustls-tls-webpki-roots feature flags. Neither is enabled by default. See the Cargo.toml for more information. If you require support for secure WebSockets (wss://) enable one of them.

These are, at time of writing, at parity with [tokio-tungstenite](https://github.com/snapview/tokio-tungstenite/tree/master?tab=readme-ov-file#features).

0 comments on commit e490d0c

Please sign in to comment.