# 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 = "2024" rust-version = "1.92" name = "glycin-common" version = "1.0.4" authors = ["Sophie Herold"] build = false autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "Sandboxed image decoding" homepage = "https://gnome.pages.gitlab.gnome.org/glycin/" readme = false license = "MPL-2.0 OR LGPL-2.1-or-later" repository = "https://gitlab.gnome.org/GNOME/glycin" [features] default = [] gobject = ["dep:glib"] [lib] name = "glycin_common" path = "src/lib.rs" [dependencies.bitflags] version = "2.9.0" [dependencies.glib] version = "0.22.0" features = ["v2_68"] optional = true [dependencies.gufo-common] version = "1.1.0" features = ["serde"] [dependencies.half] version = "2.4.1" features = ["zerocopy"] [dependencies.memmap] version = "0.9.0" package = "memmap2" [dependencies.nix] version = "0.30.0" features = [ "fs", "resource", "signal", ] [dependencies.paste] version = "1.0.0" [dependencies.rmp-serde] version = "1.3.0" [dependencies.serde] version = "1.0.162" features = ["derive"] [dependencies.thiserror] version = "2.0.3" [dependencies.zerocopy] version = "0.8.12" [dependencies.zvariant] version = "5.9.2" default-features = false [lints.clippy] arithmetic_side_effects = "warn" cast_possible_truncation = "warn" cast_possible_wrap = "warn" dbg_macro = "warn" expect_used = "warn" indexing_slicing = "warn" unwrap_used = "warn"