Petr Tesarik
c600297f52
Fix newly reported clippy errors
...
- Use variables directly in format strings.
As reported by clippy, variables can be used directly in the
`format!` string.
- Use rewind() instead of seeking to 0.
- Remove superfluous & and ref.
Signed-off-by: Petr Tesarik <petr@tesarici.cz>
2023-01-27 23:15:51 +01:00
johannesd3
95fedf5357
Add back hyper-proxy
2021-03-27 15:36:33 +01:00
johannesd3
8cff10e983
Put apresolve behind feature flag
2021-02-23 22:22:51 +01:00
johannesd3
bb44b99c92
Use proxytunnel in apresolve
...
Implementing the tower_service::Service trait for a newly created
ProxyTunnel struct, so it can be used as connector in hyper.
2021-01-30 14:45:31 +01:00
johannesd3
c1d62d72a7
Fixed ProxyTunnel
2021-01-30 14:03:34 +01:00
johannesd3
40e6355c34
Migrate core to tokio 1.0
2021-01-25 09:04:33 +01:00
Sasha Hilton
4a21b5cbeb
Fix depreciation warnings
...
Fixes error description depreciation warnings and removes unnecessary parentheses
2020-07-24 03:32:36 +01:00
marcelbuesing
38d82f2dc2
Rerun rustfmt on full codebase
2020-01-17 18:47:30 +01:00
ashthespy
d26590afc5
Update to Rust 2018
...
- Fix deprecated Error::cause warnings and missing dyn
- Reset max_width
- Add rustfmt to Travis
- Run rustfmt on full codebase
with `cargo fmt --all`
- Add rustfmt to Travis
- Complete migration to edition 2018
- Replace try! shorthand
- Use explicit `dyn Trait`
2020-01-17 18:11:52 +01:00
Johan Anderholm
3a14e9a6be
Validate proxy urls better.
...
Use the url crate to handle proxies to make sure they conform to a
proper format.
2018-03-24 08:45:43 +00:00
Johan Anderholm
1a04e3b899
Resolve AP through proxy as well
2018-03-24 08:45:43 +00:00
Johan Anderholm
3bdc5e0073
Add support for http proxy
...
Currently only http proxy (no https) is supported.
2018-03-24 08:45:43 +00:00