beffroi-tools/crates/pptx-reporter/Cargo.toml

46 lines
1.4 KiB
TOML

[package]
name = "pptx-reporter"
version.workspace = true
edition.workspace = true
license.workspace = true
description = "Local PPTX video timing reports with a drag-and-drop desktop interface"
repository.workspace = true
[features]
default = ["desktop", "pdf"]
desktop = ["dep:eframe", "dep:rfd", "dep:directories", "dep:open"]
pdf = ["dep:typst", "dep:typst-pdf"]
[dependencies]
anyhow = "1"
clap = { version = "4", features = ["derive"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
zip = { version = "2", default-features = false, features = ["deflate"] }
roxmltree = "0.20"
tempfile = "3"
uuid = { version = "1", features = ["v5"] }
eframe = { version = "0.31", optional = true, default-features = false, features = ["default_fonts", "glow", "x11", "wayland"] }
rfd = { version = "0.15", optional = true }
directories = { version = "6", optional = true }
open = { version = "5", optional = true }
typst = { version = "0.13.1", optional = true }
typst-pdf = { version = "0.13.1", optional = true }
[build-dependencies]
winresource = "0.1.17"
[[bin]]
name = "pptx-reporter"
path = "src/main.rs"
[[bin]]
name = "pptx-reporter-gui"
path = "src/bin/gui.rs"
required-features = ["desktop"]
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }-v{ version }.tgz"
pkg-fmt = "tgz"
bin-dir = "{ name }-{ target }-v{ version }/{ bin }{ binary-ext }"