[package]
name = "shift-preflight"
version.workspace = true
edition.workspace = true
license.workspace = true
description = "Multimodal preflight layer for AI model inputs — inspect, transform, and optimize images before they reach the API"
repository = "https://github.com/alohaninja/shift"
homepage = "https://shift-ai.dev/"
keywords = ["ai", "openai", "anthropic", "image", "token"]
categories = ["multimedia::images", "command-line-utilities"]
readme = "../README.md"
exclude = ["tests/"]

[dependencies]
serde = { version = "1", features = ["derive"] }
serde_json = "1"
image = { version = "0.25", default-features = false, features = ["png", "jpeg", "gif", "webp", "bmp", "tiff"] }
resvg = "0.44"
base64 = "0.22"
anyhow = "1"
ureq = "3"
url = "2"

[target.'cfg(unix)'.dependencies]
libc = "0.2"

[dependencies.tempfile]
version = "3"

[dev-dependencies]
