Commit Graph

535 Commits

Author SHA1 Message Date
Erin Power b2ad6127f6 Update net2 to 0.2.37 2021-10-17 12:56:55 +02:00
PhotonQuantum 76eaa8ac60
Add benchmark for stack read buffer 2021-10-15 07:47:24 +08:00
PhotonQuantum 3f5d0985f0
Move ReadBuffer chunk to heap 2021-10-15 07:15:25 +08: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
yifei 9f563561a4 fix: return err if try to overwrite standard hedaer 2021-08-20 00:35:42 +08:00
Daniel Abramov 89697449ff Fixes #230 2021-08-17 15:19:57 +02: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 3f5fde0fb9 Remove the "unreleased" suffix from the changelog 2021-08-12 17:04:05 +02:00
Daniel Abramov 1d9d700bcc Bump version 2021-08-12 17:02:48 +02:00
Daniel Abramov 9b9f504ea1 Update the changelog 2021-08-12 17:02:16 +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
Daniel Abramov 239f8e293f
Merge pull request #226 from dnaka91/connector
Add a connector to configure TLS config
2021-07-28 16:58:08 +02:00
Dominik Nakamura 32450ae5af
Add a connector to configure TLS config 2021-07-23 21:26:44 +09:00
Daniel Abramov bc1b88b820
Merge pull request #223 from dnaka91/clippy-and-deprecation
Fix clippy warnings and deprecated settings
2021-07-21 16:37:10 +02:00
Dominik Nakamura 5e0fde5dc6
Fix clippy warnings and deprecated settings 2021-07-21 10:43:44 +09:00
Daniel Abramov c9c2f49305
Merge pull request #221 from snapview/dependabot/cargo/env_logger-0.9.0
Update env_logger requirement from 0.8.1 to 0.9.0
2021-07-15 10:52:11 +02: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
Daniel Abramov 5462b3b986
Merge pull request #217 from dnaka91/root-certs-feature-flags
Enable root cert providers through feature flags
2021-07-15 09:59:50 +02:00
Dominik Nakamura 8b029baa8d
Fix wrong feature name when setting certs 2021-07-14 00:21:37 +09:00
Dominik Nakamura 02fb5db98f
Mention changes in the changelog 2021-07-13 17:52:47 +09: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 2f40edb91e Update the changelog 2021-07-10 13:16:51 +02:00
Daniel Abramov 6f56461f0f Update the changelog 2021-07-09 12:46:15 +02:00
Daniel Abramov 32f4106e4f Bump version 2021-07-09 12:42:44 +02:00
Daniel Abramov 25a7f9e18c Trigger the CI/CD for Travis 2021-07-08 17:22:09 +02:00
Daniel Abramov c742916a5e
Merge pull request #214 from snapview/faster-input-buffer
Faster implementation of `InputBuffer`
2021-07-08 14:36:33 +02:00
Daniel Abramov 83722c24aa Clean up the read portion of the buffer 2021-07-06 16:33: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
Daniel Abramov 8c3172c014
Merge pull request #205 from yusdacra/master
downgrade webpki, use rustls-native-certs instead of webpki-roots
2021-05-27 13:09:30 +02:00
Yusuf Bera Ertan a729b37b22
Update src/client.rs
Co-authored-by: Daniel Abramov <inetcrack2@gmail.com>
2021-05-26 16:07:54 +03:00
Daniel Abramov 9a4fff455f
Merge pull request #207 from teymour-aldridge/patch-1
Fix a typo in a docstring
2021-05-25 18:03:48 +02:00
Teymour Aldridge 94aef58646
Fix a typo in a docstring 2021-05-24 16:09:33 +01: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 141a03df0d
Merge pull request #204 from snapview/tls-features
Change default TLS features
2021-05-11 12:40:15 +02:00
Daniel Abramov 41999eeb0c Change default TLS features
Closes #202.
2021-05-10 12:27:52 +02:00
Daniel Abramov de21e2fd8f
Merge pull request #200 from snapview/use-autobahn-in-docker
Use Autobahn Suite from Docker, symmetrical to snapview/tokio-tungstenite#165
2021-04-23 15:15:08 +02:00
Daniel Abramov 485d04b099 tests: rely on Autobahn Suite usage from docker
See https://github.com/snapview/tokio-tungstenite/pull/165 for more
details.
2021-04-22 19:33:27 +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
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
2021-04-12 22:06:24 +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
Daniel Abramov e6fee89726
Merge pull request #186 from de-vri-es/more-from-for-error
Implement From<CapacityError> and From<UrlError> for Error.
2021-03-04 11:06:14 +01:00
Maarten de Vries abebb330af Implement From<CapacityError> and From<UrlError> for Error. 2021-03-03 21:04:42 +01:00
Daniel Abramov 3721ca8d0b
Merge pull request #184 from LukasKalbertodt/master
Add `From<ProtocolError>` impl for `Error`
2021-03-02 18:31:44 +01:00
Lukas Kalbertodt 5ce9e7ca39
Add `From<ProtocolError>` impl for `Error` 2021-03-02 15:57:44 +01:00