Flying-Toast / simple-websockets

MIT License
18 stars 7 forks source link

Update tokio-tungstenite requirement from 0.17 to 0.18 #15

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 2 years ago

Updates the requirements on tokio-tungstenite to permit the latest version.

Changelog

Sourced from tokio-tungstenite's changelog.

0.18.0

  • Update dependencies (underlying tungstenite core).

0.17.2

  • Make Origin header case-sensitive (to keep compatibility with poorely-written servers that don't accept lowercase Origin header).
  • Make semantics of the reading form the WebSocketStream more reasonable (return None instead of an error when the stream is normally closed).
  • Imrpove the way poll_close() works by properly driving the close of the stream till completion.

0.17.1

0.17.0

0.16.1

  • Fix feature selection problem when using TLS.

0.16.0

  • Add a function to allow to specify the TLS connector when using connect() like logic.
  • Add support for choosing the right root certificates for the TLS.
  • Change the behavior of the connect() so that it fails when using TLS without TLS feature.
  • Do not project with Unpin.
  • Update the dependencies with important implications / improvements.

0.15.0

0.14.0

  • Support for rustls as TLS backend.
    • The tls feature was renamed to native-tls and uses a OS-native TLS implementation.
    • A new native-tls-vendored feature that uses native-tls but forces to build a vendored version (mostly for openssl) instead of linking against the system installation.
    • New rustls-tls feature flag to enable TLS with rustls as backend.
    • stream::Stream was renamed to MaybeTlsStream and wraps a rustls TLS stream as well now.
    • If both native-tls and rustls-tls are enabled native-tls is used by default.
    • A new Connector was introduced that is similar to the previous TlsConnector but now allows to control the used TLS backend explicitly (or disable it) in client_async_tls_with_config.

0.13.0

  • Upgrade from Tokio 0.3 to Tokio 1.0.0.
Commits
  • c179747 Properly configure features for features
  • c2d6ef8 Fixing features for tests and examples
  • f4dc342 Specify features for examples
  • 42ec4af Feature-gate handshakes test
  • 87d2f7e Update Cargo.toml
  • 5dd1901 Make handshake dependencies optional.
  • c5cbb2d Bump version
  • a960ccb Merge pull request #237 from ahmedcharles/example
  • 4e1559a Add an example of using tungstenite with a custom accept.
  • 61f5926 Update changelog
  • Additional commits viewable in compare view


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)