As part of the https://github.com/timberio/vector/issues/1142, upgrade hyper to v0.13+.
Here's a list of dependencies that are themselves blocked on tokio 0.1:
goauth - https://github.com/durch/rust-goauth/issues/8shiplift - https://github.com/softprops/shiplift/issues/185./vector/lib/tracing-metrics - we'll take care of itCrates that are ready for the upgrade:
hyperhyper-tlshyper-opensslreqwestrusoto_*kubehyperlocalwarpOverall, not that bad.
$ cargo tree -i -p hyper:0.12.35
hyper v0.12.35
โโโ hyper-openssl v0.7.1
โ โโโ shiplift v0.6.0
โ โโโ vector v0.9.0 (.../vector)
โโโ hyper-tls v0.3.2
โ โโโ reqwest v0.9.24
โ โ โโโ goauth v0.6.1
โ โ โ โโโ vector v0.9.0 (.../vector) (*)
โ โ โโโ kube v0.16.1
โ โ [dev-dependencies]
โ โ โโโ vector v0.9.0 (.../vector) (*)
โ โโโ rusoto_core v0.41.0
โ โโโ rusoto_cloudwatch v0.41.0
โ โ โโโ vector v0.9.0 (.../vector) (*)
โ โโโ rusoto_firehose v0.41.0
โ โ โโโ vector v0.9.0 (.../vector) (*)
โ โโโ rusoto_kinesis v0.41.0
โ โ โโโ vector v0.9.0 (.../vector) (*)
โ โโโ rusoto_logs v0.41.0
โ โ โโโ vector v0.9.0 (.../vector) (*)
โ โโโ rusoto_s3 v0.41.0
โ โ โโโ vector v0.9.0 (.../vector) (*)
โ โโโ rusoto_sts v0.41.0
โ โ โโโ vector v0.9.0 (.../vector) (*)
โ โโโ vector v0.9.0 (.../vector) (*)
โโโ hyperlocal v0.6.0
โ โโโ shiplift v0.6.0 (*)
โโโ reqwest v0.9.24 (*)
โโโ rusoto_core v0.41.0 (*)
โโโ rusoto_credential v0.41.1
โ โโโ rusoto_core v0.41.0 (*)
โ โโโ vector v0.9.0 (.../vector) (*)
โโโ shiplift v0.6.0 (*)
โโโ warp v0.1.21 (git+https://github.com/timberio/warp?branch=0.1.x#017965c627047bf0e53062940e7def127cb21649)
โโโ vector v0.9.0 (.../vector) (*)
[dev-dependencies]
โโโ tracing-metrics v0.1.0 (.../vector/lib/tracing-metrics)
โโโ vector v0.9.0 (.../vector) (*)
The sink side of this has been done and you can find the implementation in http2. Source and Prometheus sinks that use wrap will still need an upgrade.
@ktff this is part of our Tech-Debt Payment #1: Move to Tokio 0.2/Futures 0.3 Project. I'm assigning _just_ this issue to you. I've assigned #2118 and #1142 to @fanatid. I'm assuming this work won't conflict. If it does, let me know and we can try to reassign issues in a way that doesn't.
@fanatid can you prioritize updating src/sinks/aws_cloudwatch_logs/mod.rs to use
src/sinks/util/rusoto2.rs instead of src/sinks/util/rusoto.rs. With that and #2808 being merged, we'll be able to finish the upgrade of hyper and hyper-openssl.
Sure, it was done in #2777 but need move to new PR, should be ready soon.