Loupe/Cargo.toml
Sophie Herold 1b2dde79b6 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.
2023-06-07 20:21:28 +00:00

54 lines
1 KiB
TOML

[package]
name = "loupe"
version = "0.1.0"
edition = "2021"
rust-version = "1.65"
license = "GPL-3.0-or-later"
[profile.release]
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"
libgweather = "4.2.0"
log = "0.4.17"
once_cell = "1.16.0"
url = "2.3.1"
# decoders
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"
features = ["gtk4"]
[dependencies.gtk]
package = "gtk4"
version = "0.6.2"
features = ["v4_10", "xml_validation"]
[dependencies.gio]
package = "gio"
version = "0.17.0"
features = ["v2_74"]
[dependencies.adw]
package = "libadwaita"
version = "0.4.1"
features = ["v1_4"]
[dependencies.gettext-rs]
version = "0.7.0"
features = ["gettext-system"]