lib.rs 834 Bytes
Newer Older
1
2
3
4
5
6
7
8
// Copyright 2016 Kitware, Inc.
//
// 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.

Ben Boeckel's avatar
Ben Boeckel committed
9
10
11
#![warn(missing_docs)]

//! A library for communicating with Gitlab instances.
12
13
14
15

#[macro_use]
extern crate hyper;

16
17
18
#[macro_use]
extern crate log;

Ben Boeckel's avatar
Ben Boeckel committed
19
20
21
#[macro_use]
extern crate quick_error;

22
mod error;
23
24
#[macro_use]
mod macros;
25
26
mod gitlab;

27
pub mod systemhooks;
Ben Boeckel's avatar
Ben Boeckel committed
28
pub mod types;
29
pub mod webhooks;
30
pub mod hooks;
31

32
pub use error::Error;
33
pub use gitlab::CommitStatusInfo;
34
pub use gitlab::MergeRequestStateFilter;
35
pub use gitlab::Gitlab;
36
pub use gitlab::GitlabResult;
37
pub use types::*;
38
39
40

#[cfg(test)]
mod test;