Skip to main content

cuenv_homebrew/
lib.rs

1//! Homebrew tap provider for cuenv.
2//!
3//! This crate provides the [`HomebrewBackend`] for publishing release artifacts
4//! to a Homebrew tap repository.
5//!
6//! # Features
7//!
8//! - Formula generation from release artifacts
9//! - Automatic push to tap repository via GitHub API
10//! - Support for multi-platform binaries (macOS, Linux)
11//!
12//! # Example
13//!
14//! ```rust,ignore
15//! use cuenv_homebrew::{HomebrewBackend, HomebrewConfig};
16//! use cuenv_release::backends::BackendContext;
17//!
18//! let config = HomebrewConfig::new("cuenv/homebrew-tap", "cuenv")
19//!     .with_homepage("https://github.com/cuenv/cuenv")
20//!     .with_license("AGPL-3.0-or-later");
21//!
22//! let backend = HomebrewBackend::new(config);
23//! ```
24
25#![warn(missing_docs)]
26#![warn(clippy::all, clippy::pedantic)]
27
28mod backend;
29mod formula;
30
31pub use backend::{HomebrewBackend, HomebrewConfig};
32pub use formula::{BinaryInfo, FormulaData, FormulaGenerator};