[package]
edition = "2021"
rust-version = "1.75"
name = "installrs"
version = "0.1.0-rc9"
build = false
exclude = [
"target/**",
".github/**",
"*.png",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Build self-contained software installers in plain Rust, with an optional native wizard GUI (Win32 / GTK3), component selection, progress, cancellation, and compression."
homepage = "https://github.com/merlinz01/InstallRS"
documentation = "https://docs.rs/installrs"
readme = "README.md"
keywords = [
"installer",
"setup",
"wizard",
"gui",
"uninstaller",
]
categories = [
"development-tools",
"command-line-utilities",
"gui",
]
license = "MIT"
repository = "https://github.com/merlinz01/InstallRS"
[package.metadata.docs.rs]
features = [
"gui-gtk",
"lzma",
"gzip",
"bzip2",
]
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
bzip2 = ["dep:bzip2"]
default = [
"lzma",
"gzip",
"bzip2",
]
gui = []
gui-gtk = [
"gui",
"dep:gtk",
"dep:glib",
]
gui-win32 = [
"gui",
"dep:winsafe",
]
gzip = ["dep:flate2"]
lzma = ["dep:lzma-rs"]
[lib]
name = "installrs"
path = "src/lib.rs"
[[bin]]
name = "installrs"
path = "src/bin/installrs.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[dependencies.anyhow]
version = "1"
[dependencies.bzip2]
version = "0.4"
optional = true
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.ctrlc]
version = "3"
[dependencies.env_logger]
version = "0.11"
[dependencies.flate2]
version = "1"
features = ["rust_backend"]
optional = true
[dependencies.glob]
version = "0.3"
[dependencies.hex]
version = "0.4"
[dependencies.ico]
version = "0.3"
[dependencies.image]
version = "0.25"
features = ["png"]
default-features = false
[dependencies.log]
version = "0.4"
[dependencies.lzma-rs]
version = "0.3"
optional = true
[dependencies.semver]
version = "1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.syn]
version = "2"
features = [
"full",
"visit",
]
[dependencies.toml]
version = "0.8"
[dependencies.walkdir]
version = "2"
[dev-dependencies.tempfile]
version = "3"
[target.'cfg(target_os = "linux")'.dependencies.glib]
version = "0.18"
optional = true
[target.'cfg(target_os = "linux")'.dependencies.gtk]
version = "0.18"
optional = true
[target."cfg(windows)".dependencies.mslnk]
version = "0.1"
[target."cfg(windows)".dependencies.winreg]
version = "0.52"
[target."cfg(windows)".dependencies.winsafe]
version = "0.0.27"
features = [
"gui",
"shell",
]
optional = true