Commit Graph

14 Commits

Author SHA1 Message Date
valued mammal
5dc4bb6360
ci: bump clippy to 1.90.0
- Fixed hidden lifetime in `Batch::iter`
- Use `io::Error::other` in place of `io::Error::new`
when the error kind is `ErrorKind::Other`.
2025-11-03 10:10:26 -05:00
Elias Rohrer
0e28021b3e
Check in CI that we compile if all rustls features are set
We assert that we still succeed compilation if multiple `rustls`
features are set.
2025-11-03 10:49:30 +01:00
Leonardo Lima
e14f66b2f1
ci: use ubuntu-latest instead of ubuntu-20.04
- update the used ubuntu action runner, as `ubuntu-20.04` has been
  officially deprecated, see: https://github.com/actions/runner-images/issues/11101
2025-04-17 17:30:39 -03:00
valued mammal
a3488f4ff9
ci: bump actions/cache to v4 2025-03-28 12:34:47 -04:00
Leonardo Lima
3dc4daceaf
ci(clippy): bump to 1.84
- updates the rust version on clippy step to `1.84`
- fixes the found clippy issues
2025-01-20 13:57:27 -03:00
Leonardo Lima
ec90685324
ci(msrv): bump rust MSRV to 1.75
- bumps the MSRV on CI to 1.75.
- updates the `Cargo.toml` rust-version to 1.75.
- removes the guideline to pin `rustls` version, as previously required
  by old 1.63 MSRV.
- update `README.md` badges to `1.75` MSRV.
- update `clippy.toml` to `1.75` MSRV.
2025-01-20 13:57:25 -03:00
志宇
7ef3ff6873
chore: Enforce min rustls version to 0.23.19
`rustls` versions 0.23.18 and 0.23.19 contains fix for vulnerability
RUSTSEC-2024-0399. However, 0.23.18 bumps MSRV to 1.71. 0.23.19 reverts
MSRV back to 1.63.

We enforce min `rustls` version to 0.23.19 to make it easier to compile
on MSRV and ensure we include the RUSTSEC-2024-0399 fix.

Note that in CI, I decided to pin `rustls` dependency to 0.23.19
explicitly. This is because in future versions of `rustls`, the MSRV
will be changed to 1.71.
2024-12-05 21:14:43 -06:00
Steve Myers
b0a1bfb0cb
ci: pin msrv dep version for rustls 2024-11-25 09:34:19 -08:00
Steve Myers
0dd51408a3
chore(ci): add fmt and clippy checks 2024-08-06 15:06:16 -05:00
thunderbiscuit
8d71f9597c
feat: add use-rustls-ring feature 2024-07-31 15:06:11 -05:00
Steve Myers
4b421084e9
ci: add test with MSRV 1.63.0 2024-05-27 12:56:17 -05:00
Alekos Filini
f30be3bfde
Add a test for connection timeouts 2021-02-22 14:51:25 +01:00
Dr Maxim Orlovsky
25dc3fa5e5
Fix CI testing for all features 2021-02-22 12:56:48 +01:00
Riccardo Casatta
f200b7fc61
Implements retry, timeout, socks credential and others fixes
Retry works by checking if an non-protocol error happened during the call, if so an attempt to take a write lock on the client is made and a new client attempted
if both operationare succesfull the old_client is substituted with the new one.

Timeout is a single parameter for connect,read and write TCP timeouts, special handling is required for the following situation: cannot set a timeout with a proxy and cannot set timeout with multipl SocketAddrs

Since configurations parameter grow, a Config struct with a builder has been introduced

Some new errors variant has been introduced

Errors in reading input in the reader thread now warns other eventual threads with ChannelMessage::Error

Add github actions equivalent to travis cause travis is slow
2020-11-24 12:03:51 +01:00