https://github.com/iced-rs/iced/issues/674 Uses image/svg support in `iced_graphics`. The is not currently using an atlas, and uses one texture/draw per image. This should be good enough for now; supporting images with glow is better than not supporting them, and if something else performs better, that improvement can be made without any change to the public API.
50 lines
1.3 KiB
TOML
50 lines
1.3 KiB
TOML
[package]
|
|
name = "iced_glow"
|
|
version = "0.3.0"
|
|
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
|
|
edition = "2021"
|
|
description = "A glow renderer for iced"
|
|
license = "MIT AND OFL-1.1"
|
|
repository = "https://github.com/iced-rs/iced"
|
|
|
|
[features]
|
|
svg = ["iced_graphics/svg"]
|
|
image = ["image_rs", "iced_graphics/image", "png", "jpeg", "jpeg_rayon", "gif", "webp", "bmp"]
|
|
image_rs = ["iced_graphics/image_rs"]
|
|
png = ["iced_graphics/png"]
|
|
jpeg = ["iced_graphics/jpeg"]
|
|
jpeg_rayon = ["iced_graphics/jpeg_rayon"]
|
|
gif = ["iced_graphics/gif"]
|
|
webp = ["iced_graphics/webp"]
|
|
pnm = ["iced_graphics/pnm"]
|
|
ico = ["iced_graphics/ico"]
|
|
bmp = ["iced_graphics/bmp"]
|
|
hdr = ["iced_graphics/hdr"]
|
|
dds = ["iced_graphics/dds"]
|
|
farbfeld = ["iced_graphics/farbfeld"]
|
|
canvas = ["iced_graphics/canvas"]
|
|
qr_code = ["iced_graphics/qr_code"]
|
|
default_system_font = ["iced_graphics/font-source"]
|
|
|
|
[dependencies]
|
|
glow = "0.11.1"
|
|
glow_glyph = "0.5.0"
|
|
glyph_brush = "0.7"
|
|
euclid = "0.22"
|
|
bytemuck = "1.4"
|
|
log = "0.4"
|
|
kamadak-exif = "0.5"
|
|
bitflags = "1.2"
|
|
|
|
[dependencies.iced_native]
|
|
version = "0.5"
|
|
path = "../native"
|
|
|
|
[dependencies.iced_graphics]
|
|
version = "0.3"
|
|
path = "../graphics"
|
|
features = ["font-fallback", "font-icons", "opengl"]
|
|
|
|
[package.metadata.docs.rs]
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
all-features = true
|