mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-26 19:07:06 -06:00
38 lines
1.0 KiB
TOML
38 lines
1.0 KiB
TOML
[package]
|
|
name = "photocraft-cli"
|
|
description = "Headless PhotoCraft: convert, inspect, run commands, batch, MCP server"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
build = "build.rs"
|
|
|
|
[features]
|
|
# Open HEIC/HEIF photos (the optional photocraft-heif crate). Not default so distributors choose
|
|
# it; official builds (CI, packaging/, release) build with `--features heif`.
|
|
heif = ["photocraft-codecs/heif"]
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
name = "photocraft_cli"
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "photocraft-cli"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
photocraft-automation = { path = "../../crates/automation" }
|
|
photocraft-engine = { workspace = true }
|
|
photocraft-io = { workspace = true }
|
|
photocraft-format = { path = "../../crates/format" }
|
|
photocraft-codecs = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }
|
|
|
|
[build-dependencies]
|
|
# Icon + VERSIONINFO for photocraft-cli.exe; build.rs only uses it when targeting Windows.
|
|
winresource = "0.1"
|
|
|