[package]
edition = "2024"
name = "iconsmaker"
version = "0.1.2"
authors = ["Matt Comeione <6080346+ideocentric@users.noreply.github.com>"]
build = false
exclude = [
"/.github/",
"/packaging/",
"/wix/",
"/docs/",
"/Dockerfile",
"/docker-compose.yml",
"/.dockerignore",
"/icons.template.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Generate platform icon bundles (macOS, Windows, Linux) from a single SVG"
readme = "README.md"
keywords = [
"icon",
"svg",
"icns",
"ico",
"cli",
]
categories = [
"command-line-utilities",
"multimedia::images",
]
license = "GPL-3.0-or-later"
repository = "https://github.com/ideocentric/iconsmaker"
[package.metadata.deb]
maintainer = "Matt Comeione <6080346+ideocentric@users.noreply.github.com>"
copyright = "2026, Matt Comeione"
license-file = [
"LICENSE",
"0",
]
section = "graphics"
priority = "optional"
extended-description = """
iconsmaker reads a single source SVG and a small TOML config (or command-line
flags) and generates deployment-ready icon assets for macOS (.icns), Windows
(.ico) and Linux (freedesktop hicolor PNG tree, .desktop entry, AppStream
metainfo), plus optional Snap, Flatpak and AppImage packaging scaffolding."""
assets = [
[
"target/release/iconsmaker",
"usr/bin/",
"755",
],
[
"target/assets/iconsmaker.1",
"usr/share/man/man1/iconsmaker.1",
"644",
],
[
"README.md",
"usr/share/doc/iconsmaker/README.md",
"644",
],
[
"LICENSE",
"usr/share/doc/iconsmaker/LICENSE",
"644",
],
]
[package.metadata.generate-rpm]
summary = "Generate platform icon bundles (macOS, Windows, Linux) from a single SVG"
[[package.metadata.generate-rpm.assets]]
source = "target/release/iconsmaker"
dest = "/usr/bin/iconsmaker"
mode = "755"
[[package.metadata.generate-rpm.assets]]
source = "target/assets/iconsmaker.1"
dest = "/usr/share/man/man1/iconsmaker.1"
mode = "644"
doc = true
[[package.metadata.generate-rpm.assets]]
source = "README.md"
dest = "/usr/share/doc/iconsmaker/README.md"
mode = "644"
doc = true
[[package.metadata.generate-rpm.assets]]
source = "LICENSE"
dest = "/usr/share/doc/iconsmaker/LICENSE"
mode = "644"
doc = true
[[bin]]
name = "iconsmaker"
path = "src/main.rs"
[dependencies.anyhow]
version = "1"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.clap_mangen]
version = "0.2"
[dependencies.icns]
version = "0.3"
[dependencies.ico]
version = "0.3"
[dependencies.image]
version = "0.25"
features = ["png"]
default-features = false
[dependencies.resvg]
version = "0.44"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.tiny-skia]
version = "0.11"
[dependencies.toml]
version = "0.8"
[dependencies.usvg]
version = "0.44"