fuzz_introspector_client/
lib.rs

1//! This is an unnoficial client library for the
2//! [fuzz-introspector api](https://introspector.oss-fuzz.com/api).
3//!
4//! # Example
5//! ```rust,no_run
6//! # tokio_test::block_on(async {
7//! use fuzz_introspector_client::{
8//!    all_functions, annotated_config, branch_blockers, far_reach_but_low_coverage, project_summary,
9//! };
10//!
11//! let project = "json-c";
12//! // Query the configs endpoint
13//! println!("{:?}", annotated_config(project).await.unwrap());
14//!
15//! // Query the optimal target analysis endpoint
16//! println!(
17//!   "{:?}",
18//!   far_reach_but_low_coverage(project).await.unwrap()
19//! );
20//!
21//! // Query the project summary endpoint
22//! println!("{:?}", project_summary(project).await.unwrap());
23//!
24//! // Query the fuzz blockers endpoint
25//! println!("{:?}", branch_blockers(project).await.unwrap());
26//!
27//! // Get coverage information about all targets
28//! println!("{:?}", all_functions(project).await.unwrap());
29//! # });
30//! ```
31
32/// The introspector api definitions.
33pub mod introspector;
34pub use introspector::*;