Commit Graph

324 Commits

Author SHA1 Message Date
Sebastian Dröge 24cae74484 Update to tungstenite 0.13
And improve error mapping.

Fixes https://github.com/sdroege/async-tungstenite/issues/79
2021-02-13 16:11:53 +02:00
Constantin Nickel f51f074491 Update changelog 2021-01-09 15:40:46 +02:00
Sebastian Dröge f276998e55 Release 0.12.0 2021-01-09 12:36:03 +02:00
Sebastian Dröge 1ec33071e4 Update webpki-roots to 0.21 2021-01-09 12:35:52 +02:00
Constantin Nickel ab28b2d367 Migrate from pin-project to pin-project-lite 2021-01-09 12:26:52 +02:00
Sebastian Dröge 33e3722ab0 Update version to 0.11.0 2020-12-30 15:15:53 +02:00
Ruben Anders c2cbb7844c Add tokio update to changelog 2020-12-30 13:26:36 +02:00
Constantin Nickel 253f8c9291 Update to tokio 1.0 2020-12-30 13:21:50 +02:00
Ruben Anders 7f145a5661 Add changelog 2020-12-30 13:20:38 +02:00
root 6cb24591ad update to async-tls 2020-12-21 22:49:23 +02:00
Josh Triplett 95e23ee155 README: add note about streaming and ws_stream_tungstenite 2020-12-08 09:23:22 +02:00
Constantin Nickel 8aa7427b84 Switch to hecrj/setup-rust-action
The action registers problem matchers to highlight errors and warnings.
2020-11-09 09:27:15 +02:00
Sebastian Dröge c6961093ef Update to env_logger 0.8 2020-10-19 11:59:17 +03:00
Constantin Nickel 3b28f485fc Update version to 0.10.0 2020-10-19 09:57:04 +03:00
Constantin Nickel 42fb96666b Update tokio to 0.3 2020-10-19 09:57:04 +03:00
Constantin Nickel cf9ca1ffae Bring tokio's async-tls and rustls impls in line with the others 2020-10-19 09:57:04 +03:00
Constantin Nickel 7dcaebccf9 Split out tokio tls impls into separate files 2020-10-19 09:57:04 +03:00
Constantin Nickel c648bdd256 Update version to 0.9.3 2020-10-19 08:13:40 +03:00
Constantin Nickel a9fd92529e Configure the server trust anchors for tokio-rustls 2020-10-19 08:13:40 +03:00
Sebastian Dröge e4eb921df6 Update version to 0.9.2 2020-10-17 11:47:40 +03:00
Constantin Nickel 066af47721 Run rustfmt and enforce via CI 2020-10-16 11:20:55 +03:00
Constantin Nickel a2468d0431 Implement the `tokio::client_async_tls*` functions for `async-tls` and `tokio-rustls` 2020-10-15 23:42:09 +03:00
Constantin Nickel ec43bd6676 Add check for all features 2020-10-15 23:42:09 +03:00
Constantin Nickel 96b1f87dfb Tune tokio's feature gates to play nice together 2020-10-15 23:42:09 +03:00
Constantin Nickel dd066e2737 Update pin-project to 1 2020-10-14 13:13:36 +03:00
Sebastian Dröge b9620a8793 Update version to 0.9.1 2020-10-13 20:43:31 +03:00
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
2020-10-13 14:45:40 +03:00
Constantin Nickel 75227304fe Change build status badge to GitHub Actions 2020-10-13 14:45:17 +03:00
Sebastian Dröge 95afa5f764 Remove .travis.yml 2020-10-12 21:06:43 +03:00
Constantin Nickel 994149c509 Tune the build dependencies for test & autobahn 2020-10-12 20:58:43 +03:00
Constantin Nickel 2f389ad7f8 Build the Autobahn examples upfront 2020-10-12 20:58:43 +03:00
Constantin Nickel 4250cfabe0 Move the Autobahn Testsuite to a separate job 2020-10-12 20:58:43 +03:00
Constantin Nickel 45e9dda58d Label build steps 2020-10-12 20:58:43 +03:00
Constantin Nickel f29e570859 Add GitHub Actions workflow for CI 2020-10-12 20:58:43 +03:00
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
2020-10-12 20:32:18 +03:00
Constantin Nickel e0675f3adf Remove futures-util's `async-await` feature 2020-10-12 20:29:30 +03:00
Mathias Koch 93aeaa35c8 Remove default feature, unused tungstenite/tls feature and add cargo check to travis 2020-10-03 09:34:31 +03:00
Mathias Koch 286dd662b6 Add support for tokio-rustls 2020-10-03 09:34:31 +03:00
Constantin Nickel edaaebd60e Update async-tls to 0.9 2020-10-02 23:11:13 +03:00
Sebastian Dröge dfe62345be Update version to 0.8.0 2020-07-27 10:19:50 +03:00
Sebastian Dröge d53887cbf4 Update async-tls to 0.9
Fixes https://github.com/sdroege/async-tungstenite/issues/43
2020-07-27 10:19:25 +03:00
Philippe Normand 2f2319c125 Update to gio 0.9 and glib 0.10 2020-07-15 10:32:36 +03:00
Sebastian Dröge 16b1612b6e Update version to 0.7.1 2020-07-08 09:04:17 +03:00
Josh Matthews 00fa09ce37 Add openssl support. 2020-07-07 20:34:14 +03:00
Sebastian Dröge 3b770316d6 Work directly on the tokio AsyncRead/AsyncWrite traits and convert internally
Fixes https://github.com/sdroege/async-tungstenite/issues/28
2020-06-29 15:01:54 +03:00
Sebastian Dröge b1e44a5e77 Update version to 0.8.0 2020-06-29 13:16:53 +03:00
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.
2020-06-29 13:16:39 +03:00
Philippe Normand be83431c2f gio: Add Send implementation to IOStreamAsyncReadWrite
This is a wrapper for GSocketConnection, which should be OK to share across
threads.
2020-06-29 13:16:33 +03:00
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
2020-06-29 13:11:44 +03:00
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
2020-06-17 20:18:09 +03:00