# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.77" name = "glycin" version = "2.0.2" authors = ["Sophie Herold"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Sandboxed image decoding" homepage = "https://gitlab.gnome.org/sophie-h/glycin" readme = "README.md" license = "MPL-2.0 OR LGPL-2.1-or-later" repository = "https://gitlab.gnome.org/sophie-h/glycin" [package.metadata.docs.rs] all-features = true features = [] rustc-args = [ "--cfg", "docsrs", ] rustdoc-args = [ "--cfg", "docsrs", "--generate-link-to-definition", ] [lib] name = "glycin" path = "src/lib.rs" [[example]] name = "glycin-render" path = "examples/glycin-render.rs" required-features = ["gdk4"] [[example]] name = "glycin-rotate-cw" path = "examples/glycin-rotate-cw.rs" [dependencies.async-fs] version = "2.1.0" optional = true [dependencies.async-io] version = "2.3.2" optional = true [dependencies.async-lock] version = "3.3.0" optional = true [dependencies.blocking] version = "1.6.1" optional = true [dependencies.futures-channel] version = "0.3.30" [dependencies.futures-timer] version = "3.0.3" optional = true [dependencies.futures-util] version = "0.3.30" [dependencies.gdk] version = "0.9.0" features = ["v4_12"] optional = true package = "gdk4" [dependencies.gio] version = "0.20.0" [dependencies.glycin-utils] version = "2.0.0" default-features = false [dependencies.gufo-common] version = "0.1.0" features = ["serde"] [dependencies.gufo-exif] version = "0.1.0" [dependencies.lcms2] version = "6.0.3" [dependencies.lcms2-sys] version = "4.0.4" [dependencies.libc] version = "0.2.152" [dependencies.libseccomp] version = "0.3.0" [dependencies.memfd] version = "0.6.3" [dependencies.memmap] version = "0.9.0" package = "memmap2" [dependencies.nix] version = "0.29.0" features = [ "fs", "resource", "signal", "fs", "resource", "signal", ] [dependencies.static_assertions] version = "1.1.0" [dependencies.thiserror] version = "1.0.57" [dependencies.tokio] version = "1.35.1" features = [ "fs", "rt", "rt-multi-thread", ] optional = true [dependencies.tokio-stream] version = "0.1.15" features = ["fs"] optional = true [dependencies.tracing] version = "0.1.40" [dependencies.yeslogic-fontconfig-sys] version = "6.0.0" [dependencies.zbus] version = "4.3.0" features = [ "p2p", "p2p", ] default-features = false [features] async-io = [ "dep:async-fs", "dep:async-io", "dep:async-lock", "dep:blocking", "dep:futures-timer", "glycin-utils/async-io", "zbus/async-io", ] default = ["async-io"] gdk4 = ["dep:gdk"] gobject = ["glycin-utils/gobject"] tokio = [ "dep:tokio", "dep:tokio-stream", "glycin-utils/tokio", "zbus/tokio", ]