1 stable release
1.0.0 | Apr 13, 2021 |
---|
#33 in #powered
Used in install-framework
170KB
3.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
orcargo build --features gui
Dependencies
~10–28MB
~469K SLoC