Files
avif-maker/Cargo.toml

58 lines
1.2 KiB
TOML
Raw Normal View History

2026-02-05 00:15:54 -05:00
[package]
name = "avif-maker"
version = "0.1.0"
edition = "2021"
description = "Convert images and videos to AVIF format with a native GUI"
license = "MIT"
[dependencies]
# GUI
eframe = "0.30"
rfd = "0.15"
egui_extras = { version = "0.30", features = ["image"] }
# AVIF encoding (links to libavif C library)
libavif = "0.14"
# Image decoding (pure Rust)
image = "0.25"
gif = "0.14"
# Video decoding (runs ffmpeg as subprocess - no FFI issues)
ffmpeg-sidecar = "2"
# Async & utilities
tokio = { version = "1", features = ["rt-multi-thread", "sync", "macros"] }
directories = "5"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# Error handling
thiserror = "2"
anyhow = "1"
# Logging
tracing = "0.1"
tracing-subscriber = "0.3"
# Utilities
open = "5"
[profile.release]
opt-level = 3
lto = true
[package.metadata.deb]
maintainer = "cottongin"
copyright = "2026"
depends = "ffmpeg"
section = "graphics"
# Note: cargo-deb auto-detects binary location when --target is specified
[package.metadata.generate-rpm]
assets = [
{ source = "target/x86_64-unknown-linux-gnu/release/avif-maker", dest = "/usr/bin/avif-maker", mode = "755" }
]
[package.metadata.generate-rpm.requires]
ffmpeg = "*"