diff --git a/xline-client/src/lib.rs b/xline-client/src/lib.rs index e618196ed..3e248f79b 100644 --- a/xline-client/src/lib.rs +++ b/xline-client/src/lib.rs @@ -172,7 +172,7 @@ pub mod clients; /// Error definitions for `xline-client`. pub mod error; /// Lease Id generator -pub mod lease_gen; +mod lease_gen; /// Request type definitions. pub mod types; /// Xline proto types API @@ -388,7 +388,7 @@ impl ClientOptions { /// Authentication service. #[derive(Debug, Clone)] -pub struct AuthService { +struct AuthService { /// A `Service` trait object inner: S, /// Auth token @@ -398,7 +398,7 @@ pub struct AuthService { impl AuthService { /// Create a new `AuthService` #[inline] - pub fn new(inner: S, token: Option>) -> Self { + fn new(inner: S, token: Option>) -> Self { Self { inner, token } } }