Skip to main content

Crate stout_install

Crate stout_install 

Source
Expand description

stout-install: Package installation for stout

This crate handles:

  • Extracting bottles to Cellar
  • Building from source when bottles unavailable
  • Creating bottles from installed packages
  • Creating symlinks
  • Writing INSTALL_RECEIPT.json
  • Running post-install hooks
  • Parallel installation support

Structs§

BottleInfo
Information about a bottle to extract
BottleResult
Result of bottle creation
BuildConfig
Build configuration
BuildResult
Build result
InstallReceipt
INSTALL_RECEIPT.json structure (Homebrew compatible)
LinkInfo
Information about a package to link
PackageInstallResult
Result of a single package installation
ParallelConfig
Configuration for parallel installation
ParallelInstaller
Parallel installer for multiple packages
RuntimeDependency
SourceBuilder
Source builder for formulas

Enums§

BuildError
Specific build errors with context
Error

Functions§

can_build_from_source
Check if build from source is available for a formula
create_bottle
Create a bottle from an installed package
extract_bottle
Extract a bottle tarball to the Cellar
link_package
Link a package from Cellar to prefix
remove_package
Remove an installed package from the Cellar
unlink_package
Unlink a package
write_receipt
Write an INSTALL_RECEIPT.json file

Type Aliases§

Result