gitlab 0.1801.0

Gitlab API client.
Documentation
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// TODO: Document API entities.
// #![warn(missing_docs)]
// XXX(rust-1.66)
#![allow(clippy::uninlined_format_args)]

//! A library for communicating with Gitlab instances.

#[macro_use]
#[cfg(not(feature = "_nohooks"))]
mod macros;
#[cfg(feature = "client_api")]
mod gitlab;

pub mod hooktypes;

#[deprecated(since = "0.1705.1", note = "stable hook APIs are not feasible")]
#[cfg(not(feature = "_nohooks"))]
pub mod hooks;
#[deprecated(since = "0.1705.1", note = "stable hook APIs are not feasible")]
#[cfg(not(feature = "_nohooks"))]
pub mod systemhooks;
#[deprecated(since = "0.1705.1", note = "stable hook APIs are not feasible")]
#[cfg(not(feature = "_nohooks"))]
pub mod webhooks;

#[cfg(feature = "client_api")]
pub mod api;
#[cfg(feature = "client_api")]
mod auth;

#[cfg(feature = "client_api")]
pub use crate::auth::AuthError;
#[cfg(feature = "client_api")]
pub use crate::gitlab::{
    AsyncGitlab, Gitlab, GitlabBuilder, GitlabError, ImpersonationClient, RestError,
};

#[cfg(test)]
mod test;