Commit Graph

132 Commits

Author SHA1 Message Date
dependabot[bot] 1422d47ec0
Update rustls requirement from 0.20.0 to 0.21.0
Updates the requirements on [rustls](https://github.com/rustls/rustls) to permit the latest version.
- [Release notes](https://github.com/rustls/rustls/releases)
- [Changelog](https://github.com/rustls/rustls/blob/main/RELEASE_NOTES.md)
- [Commits](https://github.com/rustls/rustls/compare/v/0.20.0...v/0.21.0)

---
updated-dependencies:
- dependency-name: rustls
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-30 08:57:37 +00:00
Daniel Abramov 42b8797e8b Revert "Add `permessage-deflate` support"
This reverts commit edb2377540.

See https://github.com/snapview/tungstenite-rs/pull/328#issuecomment-1480349206
2023-03-23 00:15:53 +01:00
kazk edb2377540 Add `permessage-deflate` support 2023-03-18 12:36:01 +01:00
Sebastian Dröge c6769e3dae Switch from base64 0.20 to data-encoding 2
base64 0.21 deprecated the simple API and requires quite a bit more code
for the simple usage here, while data-encoding provides exactly the API
needed and is also actively maintained.
2023-01-15 17:08:18 +01:00
dependabot[bot] c469214dd3
Update base64 requirement from 0.13.0 to 0.20.0 (#326)
Updates the requirements on [base64](https://github.com/marshallpierce/rust-base64) to permit the latest version.
- [Release notes](https://github.com/marshallpierce/rust-base64/releases)
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md)
- [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.13.0...v0.20.0)

---
updated-dependencies:
- dependency-name: base64
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-13 13:43:22 +01:00
Daniel Abramov 72c6f6cdd0
Bump version (#322) 2022-11-28 22:47:45 +01:00
dependabot[bot] 85f153c6fc
Update env_logger requirement from 0.9.0 to 0.10.0 (#320)
Updates the requirements on [env_logger](https://github.com/rust-cli/env_logger) to permit the latest version.
- [Release notes](https://github.com/rust-cli/env_logger/releases)
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-cli/env_logger/compare/v0.9.0...v0.10.0)

---
updated-dependencies:
- dependency-name: env_logger
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-25 10:31:47 +01:00
Alex Touchet eb9d440a14
Use SPDX license format 2022-11-18 16:57:44 -08:00
dependabot[bot] 0b573efb6b
Update criterion requirement from 0.3.4 to 0.4.0
Updates the requirements on [criterion](https://github.com/bheisler/criterion.rs) to permit the latest version.
- [Release notes](https://github.com/bheisler/criterion.rs/releases)
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bheisler/criterion.rs/compare/0.3.4...0.4.0)

---
updated-dependencies:
- dependency-name: criterion
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-12 08:06:20 +00:00
Icelk 4023390d38 Make handshake dependencies optional. 2022-08-30 09:22:38 +02:00
Nikhil Benesch 4bea1dfb70
Switch from `sha-1` to `sha1`
The RustCrypto project recently got control of the crate name `sha1`. This
commit switches over to the new name; the old `sha-1` name is now deprecated.

Details: https://github.com/RustCrypto/hashes/pull/350
2022-08-28 21:55:57 -04:00
Daniel Abramov 3bc195a42f Bump version and update the changelog 2022-07-12 19:46:24 +02:00
kangalioo fa70a370c8 Downgrade MSRV to 1.51 2022-03-19 23:46:51 +01:00
Daniel Abramov 4e6d339a4e Update changelog, bump version 2022-02-21 15:40:27 +01:00
Teo Klestrup Röijezon d21c7b53ca Downgrade MSRV to 1.56 2022-02-21 13:04:36 +01:00
Daniel Abramov 5695f5d891 Bump version 2022-02-16 13:01:25 +01:00
Daniel Abramov 6f25eaef78 general: specify the MSRV 2022-02-16 12:16:22 +01:00
Daniel Abramov 653296a1d4 Bump the version and update the changelog 2022-02-14 14:43:14 +01:00
dependabot[bot] 63acf8e9c0
Update sha-1 requirement from 0.9 to 0.10
Updates the requirements on [sha-1](https://github.com/RustCrypto/hashes) to permit the latest version.
- [Release notes](https://github.com/RustCrypto/hashes/releases)
- [Commits](https://github.com/RustCrypto/hashes/compare/groestl-v0.9.0...md2-v0.10.0)

---
updated-dependencies:
- dependency-name: sha-1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-08 08:04:44 +00:00
Daniel Abramov 958fdb93d7 Update changelog and bump the version 2021-11-03 18:52:13 +01:00
Daniel Abramov 4729b0f000
Merge pull request #244 from dnaka91/rustls-0.20
Upgrade to rustls 0.20
2021-10-27 15:11:53 +02:00
Dominik Nakamura 05cefa73c4
Switch to offical rustls-native-certs 0.6 2021-10-27 12:05:06 +09:00
Dominik Nakamura f4bb653aa0
Upgrade to rustls 0.20 2021-10-18 11:27:03 +09:00
Erin Power b2ad6127f6 Update net2 to 0.2.37 2021-10-17 12:56:55 +02:00
Daniel Abramov 7a359f0b4f
Merge pull request #238 from snapview/dependabot/cargo/rustls-0.20.0
Update rustls requirement from 0.19.0 to 0.20.0
2021-10-14 19:45:57 +02:00
Daniel Abramov d4a5ffcb5b
Merge pull request #222 from snapview/dependabot/cargo/webpki-roots-0.22
Update webpki-roots requirement from 0.21 to 0.22
2021-10-14 19:45:49 +02:00
dependabot[bot] 389b3e4cff
Update rustls requirement from 0.19.0 to 0.20.0
Updates the requirements on [rustls](https://github.com/rustls/rustls) to permit the latest version.
- [Release notes](https://github.com/rustls/rustls/releases)
- [Changelog](https://github.com/rustls/rustls/blob/main/OLDCHANGES.md)
- [Commits](https://github.com/rustls/rustls/compare/v/0.19.0...v/0.20.0)

---
updated-dependencies:
- dependency-name: rustls
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 08:03:19 +00:00
Daniel Abramov b3759a76bc
Merge pull request #229 from dnaka91/reduce-package-size
Reduce crate package size
2021-08-12 17:04:43 +02:00
Daniel Abramov 1d9d700bcc Bump version 2021-08-12 17:02:48 +02:00
Dominik Nakamura 858830aa5e
Reduce crate package size 2021-08-11 11:33:41 +09:00
dependabot[bot] 63ab29804d
Update webpki-roots requirement from 0.21 to 0.22
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)

---
updated-dependencies:
- dependency-name: webpki-roots
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-28 14:59:18 +00:00
Dominik Nakamura 32450ae5af
Add a connector to configure TLS config 2021-07-23 21:26:44 +09:00
dependabot[bot] 55eb6df51b
Update env_logger requirement from 0.8.1 to 0.9.0
Updates the requirements on [env_logger](https://github.com/env-logger-rs/env_logger) to permit the latest version.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases)
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/main/CHANGELOG.md)
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.8.1...v0.9.0)

---
updated-dependencies:
- dependency-name: env_logger
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-15 08:02:14 +00:00
Dominik Nakamura 3efb0544c6
Remove the rustls-tls feature flag 2021-07-13 17:46:48 +09:00
Dominik Nakamura 3fbd583f29
Enable root cert providers through feature flags 2021-07-12 22:37:52 +09:00
Daniel Abramov 32f4106e4f Bump version 2021-07-09 12:42:44 +02:00
Daniel Abramov ddddd791ef Implement benchmarks for buffers 2021-07-05 18:38:10 +02:00
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
2021-07-05 18:38:06 +02:00
Yusuf Bera Ertan d7e2f0a72a
downgrade webpki, use rusttls-native-certs instead of webpki-roots 2021-05-19 01:54:50 +03:00
Daniel Abramov 41999eeb0c Change default TLS features
Closes #202.
2021-05-10 12:27:52 +02:00
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
2021-04-12 22:06:38 +02:00
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>
2021-04-12 06:31:24 +00:00
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>
2021-04-12 06:31:19 +00:00
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
2021-02-08 13:58:42 +01:00
WiredSound e6d66698a3 Use thiserror to streamline the implementation of the main Error type 2021-01-09 21:04:41 +00:00
WiredSound a1b4b2de61 Bump version to 0.13.0 2021-01-09 20:42:05 +00:00
Daniel Abramov 6087e07aed Bump version 2021-01-08 13:15:38 +01:00
Dominik Nakamura d24e3e4734
Update input_buffer to use the official version 2021-01-08 10:29:45 +09:00
Daniel Abramov b0a6bae832
Merge pull request #163 from nickelc/bytes
Update to bytes 1.0
2020-12-30 17:19:24 +01:00
Constantin Nickel 75bf9b8730 use snapview/inputer_buffer@master 2020-12-29 21:53:37 +01:00