灵符lingfu

ling-icon

↓ 0 ดาวน์โหลด

Rasterize SVG/PNG icons to multi-resolution .ico and embed them in Windows executables

lingfu install ling-icon
โฮมเพจhttps://ling-lang.org
ที่เก็บโค้ดhttps://github.com/taellinglin/ling
ใบอนุญาตApache-2.0 OR MIT
ผู้เขียนLing Lin
READMEโค้ด / ไฟล์รุ่นกราฟการพึ่งพาแพ็กเกจที่พึ่งพาความปลอดภัยบิลด์การตั้งค่า

โค้ด / ไฟล์ (6)

Cargo.toml
[package]
name = "ling-icon"
version = "2030.0.8"
edition = "2021"
authors = ["Ling Lin <taellinglin@gmail.com>"]
description = "Rasterize SVG/PNG icons to multi-resolution .ico and embed them in Windows executables"
license = "Apache-2.0 OR MIT"
readme = "README.md"
repository = "https://github.com/taellinglin/ling"

[lib]
name = "ling_icon"
path = "src/lib.rs"

[dependencies]
# resvg re-exports `usvg` and `tiny_skia`, so depending on it alone keeps the
# SVG stack version-locked and avoids mismatched-type errors.
resvg = "0.44"
ico = "0.3"
image = { version = "0.25", default-features = false, features = ["png", "jpeg", "bmp"] }

# Embeds an .ico as a Windows resource from a build script. Windows-only.
[target.'cfg(windows)'.dependencies]
winresource = "0.1"

← กลับไปดัชนี