decoder: Use glycin for image loading expect SVG
This gives us sandboxed image decoding and others the option to extend Loupe with other image formats.
This commit is contained in:
parent
d690c0e2d8
commit
1b2dde79b6
18 changed files with 536 additions and 1416 deletions
12
Cargo.toml
12
Cargo.toml
|
|
@ -9,26 +9,26 @@ license = "GPL-3.0-or-later"
|
|||
lto = true
|
||||
codegen-units = 1
|
||||
|
||||
[features]
|
||||
disable-glycin-sandbox = []
|
||||
|
||||
[dependencies]
|
||||
anyhow = { version = "1.0.66", features = ["backtrace"] }
|
||||
arc-swap = "1.6.0"
|
||||
async-channel = "1.8.0"
|
||||
env_logger = "0.10.0"
|
||||
futures = "0.3.25"
|
||||
gvdb-macros = "0.1.6"
|
||||
indexmap = "1.9.2"
|
||||
kamadak-exif = "0.5.5"
|
||||
lcms2 = "5.6.0"
|
||||
libgweather = "4.2.0"
|
||||
log = "0.4.17"
|
||||
once_cell = "1.16.0"
|
||||
rgb = "0.8.36"
|
||||
safe-transmute = "0.11.2"
|
||||
url = "2.3.1"
|
||||
|
||||
# decoders
|
||||
image-rs = { package = "image", version = "0.24.6" }
|
||||
libheif-rs = "0.19.0"
|
||||
librsvg = { git = "https://gitlab.gnome.org/GNOME/librsvg.git" }
|
||||
librsvg = { git = "https://gitlab.gnome.org/GNOME/librsvg.git", rev = "51c80502b8474ec10c315da3559a049bdf4fe8f1" }
|
||||
glycin = { git = "https://gitlab.gnome.org/sophie-h/glycin.git" }
|
||||
|
||||
[dependencies.ashpd]
|
||||
version = "0.4.0"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue