# 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.93"
name = "glycin"
version = "4.0.0-alpha.1"
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 = "README.md"
license = "MPL-2.0 OR LGPL-2.1-or-later"
repository = "https://gitlab.gnome.org/GNOME/glycin"

[features]
async-io = [
    "glycin-external?/async-io",
    "glycin-builtin?/async-io",
]
default = ["async-io"]
gdk4 = [
    "glycin-external?/gdk4",
    "glycin-builtin?/gdk4",
]
gobject = [
    "glycin-external?/gobject",
    "glycin-builtin?/gobject",
]
tests = []
tokio = [
    "glycin-external?/tokio",
    "glycin-builtin?/tokio",
]

[lib]
name = "glycin"
path = "src/lib.rs"

[dependencies.glycin-builtin]
version = "4.0.0-alpha.1"
optional = true
default-features = false

[dependencies.glycin-external]
version = "4.0.0-alpha.1"
optional = true
default-features = false

[target.'cfg(not(target_os = "linux"))'.dependencies.glycin-builtin]
version = "4.0.0-alpha.1"
default-features = false

[target.'cfg(target_os = "linux")'.dependencies.glycin-external]
version = "4.0.0-alpha.1"
default-features = false

[lints.clippy]
dbg_macro = "warn"
expect_used = "warn"
