vision-squeezer 0.8.0

Fit images to a vision-LLM token budget before you send them. Library, CLI and MCP server for code, agents and pipelines.
Documentation
# 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 = "2024"
name = "vision-squeezer"
version = "0.8.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "vision-squeezer"
description = "Fit images to a vision-LLM token budget before you send them. Library, CLI and MCP server for code, agents and pipelines."
readme = "README.md"
keywords = [
    "llm",
    "vision",
    "mcp",
    "image-optimization",
    "tokens",
]
categories = [
    "multimedia::images",
    "command-line-utilities",
]
license = "Elastic-2.0"
repository = "https://github.com/eralpozcan/vision-squeezer"

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

[[bin]]
name = "vision-squeezer"
path = "src/main.rs"

[[bin]]
name = "vision-squeezer-mcp"
path = "src/mcp_server.rs"

[[test]]
name = "cli"
path = "tests/cli.rs"

[[test]]
name = "mcp"
path = "tests/mcp.rs"

[[bench]]
name = "pipeline"
path = "benches/pipeline.rs"
harness = false

[dependencies.base64]
version = "0.22"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.dirs]
version = "5"

[dependencies.image]
version = "0.25"
features = ["avif"]

[dependencies.rusqlite]
version = "0.31"
features = ["bundled"]

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

[dependencies.serde_json]
version = "1"

[dependencies.webp]
version = "0.3.1"

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.criterion]
version = "0.5"
features = ["cargo_bench_support"]
default-features = false

[dev-dependencies.tempfile]
version = "3"