Daniel Abramov
ddddd791ef
Implement benchmarks for buffers
3 years ago
Daniel Abramov
2787031c2f
Replace `InputBuffer` with a faster alternative
...
We're also deprecating the usage of `input_buffer` crate, see:
https://github.com/snapview/input_buffer/issues/6#issuecomment-870548303
3 years ago
Daniel Abramov
8c3172c014
Merge pull request #205 from yusdacra/master
...
downgrade webpki, use rustls-native-certs instead of webpki-roots
4 years ago
Yusuf Bera Ertan
a729b37b22
Update src/client.rs
...
Co-authored-by: Daniel Abramov <inetcrack2@gmail.com>
4 years ago
Daniel Abramov
9a4fff455f
Merge pull request #207 from teymour-aldridge/patch-1
...
Fix a typo in a docstring
4 years ago
Teymour Aldridge
94aef58646
Fix a typo in a docstring
4 years ago
Yusuf Bera Ertan
d7e2f0a72a
downgrade webpki, use rusttls-native-certs instead of webpki-roots
4 years ago
Daniel Abramov
141a03df0d
Merge pull request #204 from snapview/tls-features
...
Change default TLS features
4 years ago
Daniel Abramov
41999eeb0c
Change default TLS features
...
Closes #202 .
4 years ago
Daniel Abramov
de21e2fd8f
Merge pull request #200 from snapview/use-autobahn-in-docker
...
Use Autobahn Suite from Docker, symmetrical to snapview/tokio-tungstenite#165
4 years ago
Daniel Abramov
485d04b099
tests: rely on Autobahn Suite usage from docker
...
See https://github.com/snapview/tokio-tungstenite/pull/165 for more
details.
4 years ago
Daniel Abramov
550cc49cc6
Merge pull request #193 from snapview/dependabot/cargo/webpki-0.22.0
...
Update webpki requirement from 0.21.4 to 0.22.0
4 years ago
Daniel Abramov
204d984897
Merge pull request #194 from snapview/dependabot/cargo/webpki-roots-0.22.0
...
Update webpki-roots requirement from 0.21.0 to 0.22.0
4 years ago
dependabot[bot]
77c5b46c1b
Update webpki-roots requirement from 0.21.0 to 0.22.0
...
Updates the requirements on [webpki-roots](https://github.com/ctz/webpki-roots ) to permit the latest version.
- [Release notes](https://github.com/ctz/webpki-roots/releases )
- [Commits](https://github.com/ctz/webpki-roots/compare/v/0.21.0...v/0.22.0 )
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
dependabot[bot]
4f024a9ae9
Update webpki requirement from 0.21.4 to 0.22.0
...
Updates the requirements on [webpki](https://github.com/briansmith/webpki ) to permit the latest version.
- [Release notes](https://github.com/briansmith/webpki/releases )
- [Commits](https://github.com/briansmith/webpki/commits )
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
Daniel Abramov
e6fee89726
Merge pull request #186 from de-vri-es/more-from-for-error
...
Implement From<CapacityError> and From<UrlError> for Error.
4 years ago
Maarten de Vries
abebb330af
Implement From<CapacityError> and From<UrlError> for Error.
4 years ago
Daniel Abramov
3721ca8d0b
Merge pull request #184 from LukasKalbertodt/master
...
Add `From<ProtocolError>` impl for `Error`
4 years ago
Lukas Kalbertodt
5ce9e7ca39
Add `From<ProtocolError>` impl for `Error`
4 years ago
Daniel Abramov
f59f20bc80
doc: update README
4 years ago
Dominik Nakamura
c101024c28
Add support for rustls as TLS backend ( #166 )
...
* Add support for rustls as TLS backend
* Use a "use-*" prefix for the TLS features
* Only enable rustls if native-tls is not enabled
* Allows several TLS components to coexist
* Update docs for rustls mentions
* Enable all features on docs.rs
* Rename TLS feature flags from "use-*" to "*-tls"
* Make native-tls the default
* Move TLS related errors to a separate enum
* Add changelog entry about rustls support
* Fix wrong naming in main error enum
* Simplify docs about tls feature flag usage
4 years ago
Alexey Galakhov
985d657192
Merge pull request #174 from de-vri-es/derive-accept-key
...
Expose `handshake::derive_accept_key` as public API.
4 years ago
Maarten de Vries
96612748d1
Expose `handshake::derive_accept_key` as public API.
4 years ago
Matěj Laitl
5586d0af51
Merge pull request #168 from WiredSound/master
...
Create specific error types for protocol, URL, and capacity errors
4 years ago
WiredSound
79dcf9f77c
Use matches! macro in tests
4 years ago
WiredSound
8b88fb2444
Remove unnecessary changelog lines
4 years ago
Daniel Abramov
36f617ae1b
Update README.md
...
Closes #157
4 years ago
WiredSound
7c9e684ded
Add entry to CHANGELOG.md for version 0.13.0
4 years ago
WiredSound
f4aa926092
Change ProtocolErrorType to ProtocolError in test
4 years ago
WiredSound
3e485ddb96
Rename UrlErrorType to just UrlError, implement using thiserror
4 years ago
WiredSound
98377cf3dd
Rename ProtocolErrorType to just ProtocolError, implement using thiserror
4 years ago
WiredSound
652a6b776e
Rename CapacityErrorType to just CapacityError, implement using thiserror
4 years ago
WiredSound
e6d66698a3
Use thiserror to streamline the implementation of the main Error type
4 years ago
WiredSound
a1b4b2de61
Bump version to 0.13.0
4 years ago
WiredSound
78d59f9266
Escape square brackets in doc comment
4 years ago
WiredSound
b85a661967
Minor change to wording of README
4 years ago
WiredSound
0b34bee94f
Add capacity error types
4 years ago
WiredSound
aaebb432f0
Fix clippy warnings
4 years ago
WiredSound
6f846da0e3
Add protocol error types
4 years ago
WiredSound
34c6e63d87
Add specific URL error types
4 years ago
Daniel Abramov
7265a8560c
Add a changelog
...
Fixes #45
4 years ago
Daniel Abramov
6087e07aed
Bump version
4 years ago
Daniel Abramov
e1ae3872cd
Merge pull request #159 from adambezecny/master
...
WebSocketConfig extended to allow accepting unmasked client frames
4 years ago
Daniel Abramov
bd2a43c40a
Merge pull request #170 from dnaka91/update-input-buffer
...
Update input_buffer to use the official version
4 years ago
Dominik Nakamura
d24e3e4734
Update input_buffer to use the official version
4 years ago
Daniel Abramov
06e5689cca
Merge pull request #167 from dnaka91/remove-dyn-dispatch
...
Remove remaining dynamic dispatch usage
4 years ago
Dominik Nakamura
82e09ea025
Remove remaining dynamic dispatch usage
4 years ago
Antoine Catton
208061ba28
Docfix: mio::tcp has been renamed to mio::net in its latest version ( #164 )
...
This a relic of the old name in the function documentation.
4 years ago
Austaras
4d70f63cbf
Add a custom response builder ( #158 )
...
* add custom reponse builder
* change names and shorten implemtation
* Re-format the code
Co-authored-by: Daniel Abramov <dabramov@snapview.de>
4 years ago
Daniel Abramov
b0a6bae832
Merge pull request #163 from nickelc/bytes
...
Update to bytes 1.0
4 years ago