From 3477864142ed09c36abea1111937b829fb41c8a4 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Fri, 10 Apr 2020 22:01:48 +0200 Subject: Fix the Sync issue. Details: So the HTTP client future of Hyper is not Sync, thus the stream that read blocks wasn't either. However Hyper's default Body type requires a stream to be Sync for wrap_stream. Solution: reimplement a custom HTTP body type. --- rustfmt.toml | 1 + 1 file changed, 1 insertion(+) create mode 100644 rustfmt.toml (limited to 'rustfmt.toml') diff --git a/rustfmt.toml b/rustfmt.toml new file mode 100644 index 00000000..218e2032 --- /dev/null +++ b/rustfmt.toml @@ -0,0 +1 @@ +hard_tabs = true -- cgit v1.2.3