split main

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2024-04-05 22:15:16 -04:00
committed by June
parent 7f6c19f066
commit 9cc4f3e929
7 changed files with 1028 additions and 963 deletions
+2 -2
View File
@@ -118,12 +118,12 @@ impl Client {
#[cfg(not(feature = "gzip_compression"))]
{
builder = builder.no_gzip();
}
};
#[cfg(not(feature = "brotli_compression"))]
{
builder = builder.no_brotli();
}
};
if let Some(proxy) = config.proxy.to_proxy()? {
Ok(builder.proxy(proxy))