Commit Graph

154 Commits

Author SHA1 Message Date
Sebastian Dröge e9604ac35b Update MSRV to 1.60 and check on the CI
The code does not actually compile anymore with 1.51.

Also only run `cargo check` with 1.60 as various optional features,
tests, benchmarks actually require newer Rust versions.
2023-12-08 11:59:01 +01:00
Alexey Galakhov 85463b264e Release version 0.21.0 2023-12-07 02:03:01 +01:00
Constantin Nickel bcd7f85e65 Update `rustls` to 0.22 2023-12-05 22:24:29 +01:00
Alex Butler 866ce20dbe Update webpki-roots to 0.26 2023-12-02 20:30:48 +01:00
Alex Butler 0f6e6517e6 Fix FrameHeader::format write & other lints 2023-12-02 00:01:17 +01:00
Daniel Abramov a43bb499df
Merge pull request #386 from snapview/dependabot/cargo/http-1.0
Update http requirement from 0.2 to 1.0
2023-11-17 18:54:04 +01:00
Constantin Nickel 8ca9b2314c Replace deprecated `net2` dev dependency with `socket2` 2023-11-16 11:33:58 +01:00
dependabot[bot] 2867907f15
Update http requirement from 0.2 to 1.0
Updates the requirements on [http](https://github.com/hyperium/http) to permit the latest version.
- [Release notes](https://github.com/hyperium/http/releases)
- [Changelog](https://github.com/hyperium/http/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hyperium/http/compare/v0.2.0...v1.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-16 08:04:57 +00:00
Constantin Nickel 6c61d54ad2 Update `webpki-roots` to 0.25 2023-11-15 19:56:28 +01:00
Daniel Abramov 722850d473 Fix incorrect metadata in Cargo.toml 2023-09-23 14:10:04 +02:00
Alexey Galakhov f0f1a06a50 Bump crate version 2023-09-23 02:16:16 +02:00
Daniel Abramov 53914c1180 Include examples so that `cargo publish` works 2023-07-22 15:36:37 +01:00
Daniel Abramov 5323559891 Bump version 2023-07-22 15:19:04 +01:00
dependabot[bot] 40cd43c4f9
Update webpki-roots requirement from 0.23 to 0.24
Updates the requirements on [webpki-roots](https://github.com/rustls/webpki-roots) to permit the latest version.
- [Commits](https://github.com/rustls/webpki-roots/compare/v/0.23.1...v/0.24.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-07 08:51:20 +00:00
Alexey Galakhov 5a3115c09b
Merge pull request #357 from alexheretic/flush-writes-less
Rework to remove implicit flushes
2023-05-28 18:40:35 +02:00
Alex Butler d298089bf3 Add write 100k micro-bench 2023-05-24 18:42:03 +01:00
dependabot[bot] 7242a22b91
Update criterion requirement from 0.4.0 to 0.5.0
Updates the requirements on [criterion](https://github.com/bheisler/criterion.rs) to permit the latest version.
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bheisler/criterion.rs/compare/0.4.0...0.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-24 08:57:02 +00:00
Constantin Nickel 8a436e7550 Remove unused `TlsError::Webpki` error variant
The error variant is no longer needed since `rustls` 0.21.
2023-04-25 22:22:36 +02:00
Daniel Abramov 7e4a15446d Properly activate features for examples and tests 2023-04-12 16:30:15 +02:00
Daniel Abramov 869a67ca0b Bump version 2023-04-12 12:52:18 +02:00
Martin Lemesle 1f6c62d301 Fix not compiling features rustls-tls-native-roots and rustls-tls-webpki-roots 2023-04-07 10:11:53 +02:00
dependabot[bot] 92d65e1104
Update webpki-roots requirement from 0.22 to 0.23 (#343)
Updates the requirements on [webpki-roots](https://github.com/rustls/webpki-roots) to permit the latest version.
- [Release notes](https://github.com/rustls/webpki-roots/releases)
- [Commits](https://github.com/rustls/webpki-roots/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-03 21:49:59 +02:00
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