cuenv_github/lib.rs
1//! GitHub provider implementations for cuenv.
2//!
3//! This crate provides GitHub-specific implementations of:
4//! - [`GitHubCodeownersProvider`] for CODEOWNERS file management (feature: `codeowners`)
5//! - [`GitHubCIProvider`] for GitHub Actions CI integration (feature: `ci`)
6//! - [`workflow::GitHubActionsEmitter`] for workflow file generation (feature: `workflow`)
7//!
8//! # Features
9//!
10//! - `codeowners` (default): CODEOWNERS file sync and check operations
11//! - `ci` (default): GitHub Actions CI provider with check runs and PR comments
12//! - `workflow` (default): GitHub Actions workflow file generation from IR
13
14#![warn(missing_docs)]
15
16#[cfg(feature = "codeowners")]
17pub mod codeowners;
18
19#[cfg(feature = "ci")]
20pub mod ci;
21
22#[cfg(feature = "workflow")]
23pub mod workflow;
24
25// Re-exports for convenience
26#[cfg(feature = "codeowners")]
27pub use codeowners::GitHubCodeownersProvider;
28
29#[cfg(feature = "ci")]
30pub use ci::GitHubCIProvider;
31
32#[cfg(feature = "workflow")]
33pub use workflow::GitHubActionsEmitter;