| Crates.io | takecrate |
| lib.rs | takecrate |
| version | 1.1.1 |
| created_at | 2024-10-04 15:23:18.071132+00 |
| updated_at | 2025-07-10 21:20:09.962747+00 |
| description | Adds installer functionality to standalone binaries for distribution of CLI applications |
| homepage | |
| repository | https://github.com/chfoo/takecrate |
| max_upload_size | |
| id | 1396698 |
| size | 208,115 |
Rust library for adding installer functionality to standalone binaries.
This crate enables CLI applications to be distributed as standalone binaries that can install and uninstall themselves.
let app_id = AppId::new("com.example.my-app").unwrap();
let manifest = PackageManifest::new(&app_id).with_self_exe().unwrap();
if exe_name.ends_with("_installer") {
takecrate::install_interactive(&manifest).unwrap();
}
This crate aims to be a safe and easy way for users to use binaries by automating the file copying and search path modification.
Supported OS families: unix (macOS and Linux), windows.
In addition, notable quality of life features include:
Copyright 2024-2025 Christopher Foo and Takecrate contributors. Licensed under Mozilla Public License 2.0