lmrc_gitlab/lib.rs
1//! # GitLab Client Library
2//!
3//! A comprehensive Rust library for interacting with the GitLab API programmatically.
4//!
5//! ## Features
6//!
7//! - **Type-safe API**: Strongly typed models for all GitLab resources
8//! - **Async/await**: Built on tokio for efficient async operations
9//! - **Error handling**: Comprehensive error types with detailed context
10//! - **Builder patterns**: Fluent, ergonomic API design
11//!
12//! ## Quick Start
13//!
14//! ```no_run
15//! use lmrc_gitlab::{GitLabClient, error::Result};
16//!
17//! #[tokio::main]
18//! async fn main() -> Result<()> {
19//! let client = GitLabClient::new("https://gitlab.com", "your-token")?;
20//!
21//! // Use the client to interact with GitLab API
22//! Ok(())
23//! }
24//! ```
25
26pub mod adapter;
27pub mod api;
28pub mod error;
29mod gitlab_client;
30pub mod models;
31
32pub use adapter::GitLabAdapter;
33pub use error::{GitLabError, Result};
34pub use gitlab_client::GitLabClient;