gitlab/lib.rs
1// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
2// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
3// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
4// option. This file may not be copied, modified, or distributed
5// except according to those terms.
6
7// TODO: Document API entities.
8// #![warn(missing_docs)]
9// XXX(rust-1.66)
10#![allow(clippy::uninlined_format_args)]
11
12//! A library for communicating with Gitlab instances.
13
14#[cfg(feature = "client_api")]
15mod gitlab;
16
17pub mod hooktypes;
18
19#[cfg(feature = "client_api")]
20pub mod api;
21#[cfg(feature = "client_api")]
22mod auth;
23
24#[cfg(feature = "client_api")]
25pub use crate::auth::AuthError;
26#[cfg(feature = "client_api")]
27pub use crate::gitlab::{
28 AsyncGitlab, CertificateBundle, Gitlab, GitlabBuilder, GitlabError, ImpersonationClient,
29 RestError,
30};
31
32#[cfg(test)]
33mod test;