Constantin Nickel
dd066e2737
Update pin-project to 1
4 years ago
Sebastian Dröge
b9620a8793
Update version to 0.9.1
4 years ago
Constantin Nickel
77c1f7b2a3
Remove the tokio-rustls feature from the docs.rs build
...
the tokio tls features don't play nice together at the moment
and break the doc build
4 years ago
Constantin Nickel
75227304fe
Change build status badge to GitHub Actions
4 years ago
Sebastian Dröge
95afa5f764
Remove .travis.yml
4 years ago
Constantin Nickel
994149c509
Tune the build dependencies for test & autobahn
4 years ago
Constantin Nickel
2f389ad7f8
Build the Autobahn examples upfront
4 years ago
Constantin Nickel
4250cfabe0
Move the Autobahn Testsuite to a separate job
4 years ago
Constantin Nickel
45e9dda58d
Label build steps
4 years ago
Constantin Nickel
f29e570859
Add GitHub Actions workflow for CI
4 years ago
Sebastian Dröge
306f198461
Update version to 0.9.0
...
The update to async-tls 0.9 changes the API if that feature is enabled.
Fixes https://github.com/sdroege/async-tungstenite/issues/52
4 years ago
Constantin Nickel
e0675f3adf
Remove futures-util's `async-await` feature
4 years ago
Mathias Koch
93aeaa35c8
Remove default feature, unused tungstenite/tls feature and add cargo check to travis
4 years ago
Mathias Koch
286dd662b6
Add support for tokio-rustls
4 years ago
Constantin Nickel
edaaebd60e
Update async-tls to 0.9
4 years ago
Sebastian Dröge
dfe62345be
Update version to 0.8.0
4 years ago
Sebastian Dröge
d53887cbf4
Update async-tls to 0.9
...
Fixes https://github.com/sdroege/async-tungstenite/issues/43
4 years ago
Philippe Normand
2f2319c125
Update to gio 0.9 and glib 0.10
4 years ago
Sebastian Dröge
16b1612b6e
Update version to 0.7.1
4 years ago
Josh Matthews
00fa09ce37
Add openssl support.
4 years ago
Sebastian Dröge
3b770316d6
Work directly on the tokio AsyncRead/AsyncWrite traits and convert internally
...
Fixes https://github.com/sdroege/async-tungstenite/issues/28
4 years ago
Sebastian Dröge
b1e44a5e77
Update version to 0.8.0
4 years ago
Philippe Normand
220df7b0af
gio: Make the IOStreamAsyncReadWrite constructor private
...
Ensuring this struct can only be created internally is important, ensuring
only one reference of GIOStream is tracked.
4 years ago
Philippe Normand
be83431c2f
gio: Add Send implementation to IOStreamAsyncReadWrite
...
This is a wrapper for GSocketConnection, which should be OK to share across
threads.
4 years ago
Sebastian Dröge
8738c887c0
Add public type aliases for the stream types used by the various client-side functions
...
Fixes https://github.com/sdroege/async-tungstenite/issues/35
4 years ago
Sebastian Dröge
be8e9d898d
Don't declare internal port function when only the async-tls feature is enabled
...
warning: function is never used: `port`
--> src/lib.rs:381:15
|
381 | pub(crate) fn port(
| ^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: 1 warning emitted
4 years ago
Naja Melan
e131ec4e8a
Expose the configuration of the websocket connection.
...
Allows wrapper types to respect max_message_size.
4 years ago
Heinz N. Gies
b86e6d5369
bump tungstenite to 0.11
4 years ago
Sebastian Dröge
2e6f577c7e
Switch to tokio-native-tls for the Travis CI too
5 years ago
Sebastian Dröge
929dacbbdc
Update version number to 0.6.0
5 years ago
Sebastian Dröge
29e528d1bc
Switch from deprecated tokio-tls to tokio-native-tls
5 years ago
Sebastian Dröge
cba1d7bb32
Update version to 0.5.0
...
This depends on a new version of async-tls, which breaks API.
5 years ago
Sebastian Dröge
dd57c420a4
Update version to 0.4.3
5 years ago
Marcin Pajkowski
9b5b065b1b
Derive `Debug` for `WebSocketStream<S>`
5 years ago
Cheng JIANG
3d668b5b8f
use re-expored tungstenite
5 years ago
Sebastian Dröge
5c594c0549
Forward handshake errors directly instead of wrapping them in a Other IO error
...
This allows getting HTTP status codes back to the caller, for example,
and allows proper handling of handshake errors.
5 years ago
SchrodingerZhu
a2b88e46d0
bump version
5 years ago
Mark Lodato
70c77160a9
Update example to not broadcast close messages.
...
In the event that the client sends a close message,
it is broadcast to other clients closing them as well.
5 years ago
Mark Lodato
6bffd862b6
Updates example commands to include async features
...
Due to the error: "target `XXX` in package `async-tungstenite`
requires the features: `async-std-runtime`".
Also updated the echo-server example command to start echo-server
instead of server.
5 years ago
Sebastian Dröge
f36c55b3f5
Update version to 0.4.2
5 years ago
Sebastian Dröge
6398b27044
Add the "std" feature to the futures-io dependency
...
Otherwise AsyncRead/AsyncWrite are not available.
Fixes https://github.com/sdroege/async-tungstenite/issues/18
5 years ago
Sebastian Dröge
60ea29ff03
Update version to 0.4.1
5 years ago
Erich Gubler
d4eea7211c
build(deps): minimize unnecessary dependencies by using `futures-{channel,io,util}` directly instead of `futures` outside of tests/examples
5 years ago
Ilya Baryshnikov
9741f0eb83
One more link changed
5 years ago
Ilya Baryshnikov
a62f74ac89
Fix warning for gio link
...
I have a warning with `https://www.gtk-rs.org/ `, but `https://gtk-rs.org/ ` seems to work fine. Getting the same result in different browsers
5 years ago
Naja Melan
249dbf7f2d
Advertise not using unsafe code.
5 years ago
Naja Melan
17ceebb5dc
Add required feature for example async-std-echo.
...
Allows `cargo +nightly test` without any features.
5 years ago
Naja Melan
2d1bf51e7d
fix clippy warning
5 years ago
Naja Melan
6015bf5f7b
error.description is deprecated as of current nightly.
5 years ago
Naja Melan
bfbb94030a
Don't project if you require Unpin.
...
This doesn't make sense. For Unpin types, Pin does nothing, so Pin::new() is sufficient.
However Pin::new is only implemented for `Pin<P> where <P as Deref>::Target: Unpin`, so if it weren't Unpin,
you would have to use unsafe { Pin::new_unchecked(s) }, `Pin::new()` wouldn't compile.
Thus project and Pin::new together is always a code smell.
5 years ago