Skip to main content

Module packaging

Module packaging 

Source
Expand description

Binary packaging and distribution system for VoiRS CLI.

This module provides comprehensive packaging functionality for distributing the VoiRS CLI across multiple package managers and platforms. It includes:

  • Binary optimization and packaging
  • Package manager integration (Homebrew, Chocolatey, Scoop, Debian)
  • Update management and distribution
  • Cross-platform packaging pipeline

§Features

  • Binary Packaging: Optimized binary generation with compression and validation
  • Multi-Platform Support: Packages for macOS, Windows, and Linux distributions
  • Package Managers: Native integration with popular package managers
  • Update System: Automated update checking and distribution
  • Validation: Comprehensive package validation and integrity checking

§Example

use voirs_cli::packaging::{PackagingPipeline, PackagingOptions};

let options = PackagingOptions::default();
let pipeline = PackagingPipeline::new(options);
let packages = pipeline.run_full_packaging().await?;
println!("Generated {} packages", packages.len());

Re-exports§

pub use binary::BinaryPackager;
pub use binary::BinaryPackagingConfig;
pub use managers::generate_all_packages;
pub use managers::PackageManager;
pub use managers::PackageManagerFactory;
pub use managers::PackageMetadata;
pub use update::UpdateChannel;
pub use update::UpdateConfig;
pub use update::UpdateManager;
pub use update::UpdateState;
pub use update::VersionInfo;

Modules§

binary
managers
update

Structs§

PackageInfo
PackagingOptions
PackagingPipeline

Functions§

validate_packaging_environment