# 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"
name = "memocadre"
version = "0.2.1"
authors = ["Thomas Loubiou <xabufr@gmail.com>"]
build = false
exclude = ["docs/*"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Slideshow application for digital picture frames, streaming photos from an Immich server with smooth, GPU‑accelerated rendering on low‑power devices"
readme = "README.md"
license = "GPL-3.0"

[package.metadata.deb]
maintainer-scripts = "debian/"
assets = [
    [
    "target/release/memocadre",
    "/usr/bin/",
    "755",
],
    [
    "debian/config.yaml",
    "etc/memocadre/config.yaml",
    "600",
],
    [
    "debian/settings.yaml",
    "etc/memocadre/settings.yaml",
    "600",
],
]
depends = ["libgbm1"]

[package.metadata.deb.systemd-units]
enable = true

[features]
default = [
    "winit",
    "drm",
]
drm = [
    "dep:drm",
    "dep:gbm",
]
winit = [
    "dep:glutin-winit",
    "dep:winit",
]

[[bin]]
name = "memocadre"
path = "src/main.rs"

[dependencies.anyhow]
version = "1.0.95"

[dependencies.array-init]
version = "2.1.0"

[dependencies.axum]
version = "0.8.1"
features = [
    "http1",
    "json",
    "tokio",
]
default-features = false

[dependencies.backon]
version = "1.3.0"
features = [
    "std-blocking-sleep",
    "tokio-sleep",
]
default-features = false

[dependencies.better_default]
version = "1.0.5"

[dependencies.bytemuck]
version = "1.21.0"
features = ["derive"]

[dependencies.chrono]
version = "0.4.39"
features = [
    "alloc",
    "serde",
    "std",
    "unstable-locales",
]
default-features = false

[dependencies.config]
version = "0.15.8"
features = [
    "toml",
    "yaml",
]
default-features = false

[dependencies.directories]
version = "6.0.0"

[dependencies.drm]
version = "0.14.1"
optional = true

[dependencies.env_logger]
version = "0.11.6"

[dependencies.epaint]
version = "0.33"
features = ["mint"]

[dependencies.gbm]
version = "0.18.0"
features = ["drm-support"]
optional = true
default-features = false

[dependencies.glissade]
version = "0.2.5"
features = ["derive"]
default-features = false

[dependencies.glow]
version = "0.16.0"
features = [
    "log",
    "debug_automatic_glGetError",
    "debug_trace_calls",
]

[dependencies.glutin]
version = "0.32.2"
features = [
    "egl",
    "x11",
]
default-features = false

[dependencies.glutin-winit]
version = "0.5.0"
features = [
    "egl",
    "x11",
]
optional = true
default-features = false

[dependencies.humantime-serde]
version = "1.1.1"

[dependencies.image]
version = "0.25.5"
features = ["default-formats"]
default-features = false

[dependencies.itertools]
version = "0.14.0"

[dependencies.log]
version = "0.4.22"

[dependencies.machine-uid]
version = "0.5.3"

[dependencies.memoffset]
version = "0.9.1"

[dependencies.micromap]
version = "0.1"

[dependencies.minreq]
version = "2.13.0"
features = [
    "https-rustls",
    "punycode",
    "json-using-serde",
]

[dependencies.mint]
version = "0.5.9"

[dependencies.paste]
version = "1.0.15"

[dependencies.rand]
version = "0.9.0"

[dependencies.raw-window-handle]
version = "0.6.2"

[dependencies.rumqttc]
version = "0.25"
default-features = false

[dependencies.serde]
version = "1.0.217"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.134"

[dependencies.serde_repr]
version = "0.1.19"

[dependencies.smart-default]
version = "0.7.1"

[dependencies.struct-patch]
version = "0.10"
features = ["merge"]

[dependencies.thread-priority]
version = "3"

[dependencies.tokio]
version = "1.44.0"
features = ["sync"]

[dependencies.vek]
version = "0.17.1"
features = [
    "bytemuck",
    "mint",
]

[dependencies.winit]
version = "0.30.8"
features = ["x11"]
optional = true
default-features = false

[dev-dependencies.faux]
version = "0.1.12"

[dev-dependencies.googletest]
version = "0.14"

[dev-dependencies.temp-dir]
version = "0.1.16"

[profile.profiling]
debug = 2
inherits = "release"

[profile.release]
lto = "thin"
codegen-units = 1
