azure-devops 0.1.0

Idiomatic Rust client for Azure DevOps REST APIs
Documentation
//! # azure-devops
//!
//! An idiomatic Rust client for the Azure DevOps REST APIs.
//!
//! ## Quick Start
//!
//! ```no_run
//! use azure_devops::AzureDevOps;
//!
//! #[tokio::main]
//! async fn main() -> Result<(), Box<dyn std::error::Error>> {
//!     let client = AzureDevOps::builder()
//!         .organization("my-company")
//!         .pat(std::env::var("AZURE_DEVOPS_PAT")?)
//!         .build()?;
//!
//!     let projects = client.projects().list().await?;
//!
//!     for project in &projects.value {
//!         println!("{} — {}", project.name, project.id);
//!     }
//!
//!     Ok(())
//! }
//! ```
pub mod auth;
pub mod builder;
pub mod builds;
pub mod client;
pub mod common;
pub mod constants;
pub mod error;
pub(crate) mod http;
pub mod pipelines;
pub mod projects;
pub mod pull_requests;
pub mod repositories;
pub(crate) mod util;
pub mod work_items;

// Re-export main types for convenience
pub use builder::AzureDevOpsBuilder;
pub use client::AzureDevOps;
pub use error::AzureDevOpsError;

#[cfg(test)]
mod test_utils;

#[cfg(test)]
mod models_tests;