edenapi: make hyper client fields private

Summary: Now that the Hyper client is contained in a single module, its fields do not need to be crate-public.

Reviewed By: sfilipco

Differential Revision: D14733274

fbshipit-source-id: aa5c2f4fd9fdf6e686da1fed6300e8cf8f7e5dbc
This commit is contained in:
Arun Kulshreshtha 2019-04-03 14:11:23 -07:00 committed by Facebook Github Bot
parent f88737dd96
commit 1f09251a85

View File

@ -32,10 +32,10 @@ use crate::config::{ClientCreds, Config};
pub(crate) type HyperClient = Client<HttpsConnector<HttpConnector>, Body>;
pub struct EdenApiHttpClient {
pub(crate) client: Arc<HyperClient>,
pub(crate) base_url: Url,
pub(crate) repo: String,
pub(crate) cache_path: PathBuf,
client: Arc<HyperClient>,
base_url: Url,
repo: String,
cache_path: PathBuf,
}
impl EdenApiHttpClient {