# 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 = "2021"
name = "shift-preflight"
version = "0.7.1"
build = false
exclude = ["tests/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Multimodal preflight layer for AI model inputs — inspect, transform, and optimize images before they reach the API"
homepage = "https://shift-ai.dev/"
readme = "README.md"
keywords = [
    "ai",
    "openai",
    "anthropic",
    "image",
    "token",
]
categories = [
    "multimedia::images",
    "command-line-utilities",
]
license = "Apache-2.0"
repository = "https://github.com/alohaninja/shift"

[lib]
name = "shift_preflight"
path = "src/lib.rs"

[dependencies.anyhow]
version = "1"

[dependencies.base64]
version = "0.22"

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

[dependencies.resvg]
version = "0.44"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.tempfile]
version = "3"

[dependencies.ureq]
version = "3"

[dependencies.url]
version = "2"

[dev-dependencies]

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