# 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"
name = "pdfsigner"
version = "0.4.0"
authors = ["Rudolf Schmidt <info@rudolfschmidt.com>"]
build = false
include = [
    "src/**/*",
    "fonts/Inter-Regular.ttf",
    "fonts/Inter-LICENSE.txt",
    "Cargo.toml",
    "LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast, minimal desktop PDF signer: drop a PDF, place signature image and text overlays, save."
homepage = "https://github.com/rudolfschmidt/pdfsigner"
readme = "README.md"
keywords = [
    "pdf",
    "signature",
    "annotation",
    "gui",
    "editor",
]
categories = ["gui"]
license = "GPL-3.0-or-later"
repository = "https://github.com/rudolfschmidt/pdfsigner"

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

[dependencies.anyhow]
version = "1"

[dependencies.chrono]
version = "0.4"
features = ["clock"]
default-features = false

[dependencies.eframe]
version = "0.29"

[dependencies.flate2]
version = "1.1"

[dependencies.image]
version = "0.25"
features = [
    "png",
    "jpeg",
]
default-features = false

[dependencies.lopdf]
version = "0.40"

[dependencies.pdfium-render]
version = "0.8"

[dependencies.ttf-parser]
version = "0.25"

[profile.release]
opt-level = 3
lto = "thin"
