1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//! Develocity CLI Client Library
//!
//! This crate provides a Rust client for querying Gradle build information
//! from a Develocity server.
//!
//! # Features
//!
//! - Query build results (success/failure, duration, project info)
//! - Query deprecation warnings
//! - Query build and test failures
//! - Supports both JSON and human-readable output formats
//!
//! # Example
//!
//! ```no_run
//! use dvcli::client::DevelocityClient;
//! use dvcli::config::IncludeOptions;
//!
//! #[tokio::main]
//! async fn main() -> Result<(), Box<dyn std::error::Error>> {
//! let client = DevelocityClient::new(
//! "https://develocity.example.com",
//! "your-access-key",
//! 30,
//! )?;
//!
//! let details = client
//! .get_gradle_build_details("abc123xyz", &IncludeOptions::all(), &[])
//! .await?;
//!
//! println!("Build failed: {}", details.attributes.map(|a| a.has_failed).unwrap_or(false));
//! Ok(())
//! }
//! ```
pub use DevelocityClient;
pub use ;
pub use ;