#install #framework #cross-platform #run #installer #builder #cli

install-framework

A simple and lightweight cross-platform install framework written in Rust

1 stable release

1.0.0 Apr 13, 2021

#2192 in Development tools

MIT license

135KB
2.5K SLoC

Install Framework

Install Framework is a framework to create cross-platform installers in Rust.

Usage

  • Create a binary crate (cargo new --bin [name of installer])
  • Reference the main install-framework crate (https://crates.io/crates/install-framework)
  • Fill an InstallerBuilder and call install_framework::run with your builder
  • Apply the following code in your Cargo.toml:
[features]
cli = ["install-framework/cli"]
gui = ["install-framework/gui"]
  • Compile with cargo build --features cli or cargo build --features gui

Dependencies

~7–27MB
~414K SLoC