From 2dc029e4cad1987eb360be5325c48706139ca946 Mon Sep 17 00:00:00 2001 From: PatStiles Date: Sun, 20 Aug 2023 14:25:48 -0400 Subject: [PATCH] make client and endpoint public --- src/api_client.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api_client.rs b/src/api_client.rs index 2aff779..2b3921c 100644 --- a/src/api_client.rs +++ b/src/api_client.rs @@ -58,8 +58,8 @@ async fn api_error_or_value( #[allow(clippy::type_complexity)] #[derive(Clone)] pub struct Client { - http: reqwest::Client, - endpoint: Url, + pub http: reqwest::Client, + pub endpoint: Url, _phantom: std::marker::PhantomData<(A, B, C, D, E, F, G, H, I, J)>, }