agentai-image 0.6.0

Image generation and editing tools for AgentAI agents.
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"
rust-version = "1.88"
name = "agentai-image"
version = "0.6.0"
authors = ["Adam Strojek <adam@strojek.info>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Image generation and editing tools for AgentAI agents."
readme = "README.md"
keywords = [
    "generative-ai",
    "agent",
    "image-generation",
    "openai",
]
categories = ["multimedia::images"]
license = "MIT"
repository = "https://github.com/AdamStrojek/rust-agentai"

[features]
default = [
    "toolbox",
    "rustls-ring",
    "system-proxy",
]
native-tls = [
    "agentai-core/native-tls",
    "agentai?/native-tls",
]
rustls-aws-lc = [
    "agentai-core/rustls-aws-lc",
    "agentai?/rustls-aws-lc",
]
rustls-ring = [
    "agentai-core/rustls-ring",
    "agentai?/rustls-ring",
]
system-proxy = [
    "agentai-core/system-proxy",
    "agentai?/system-proxy",
]
toolbox = [
    "dep:agentai",
    "agentai/macros",
    "dep:schemars",
]

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

[[example]]
name = "image_generator"
path = "examples/image_generator.rs"

[[example]]
name = "image_tools"
path = "examples/image_tools.rs"
required-features = ["toolbox"]

[[example]]
name = "list_models"
path = "examples/list_models.rs"

[dependencies.agentai]
version = "0.6"
optional = true
default-features = false

[dependencies.agentai-core]
version = "0.6"
features = ["reqwest"]
default-features = false

[dependencies.async-trait]
version = "0.1.92"

[dependencies.base64]
version = "0.23"

[dependencies.document-features]
version = "0.2"

[dependencies.schemars]
version = "1.2"
features = ["derive"]
optional = true

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

[dependencies.serde_json]
version = "1.0.154"

[dependencies.thiserror]
version = "2.0.21"

[dev-dependencies.agentai]
version = "0.6"

[dev-dependencies.anyhow]
version = "1.0.104"

[dev-dependencies.tokio]
version = "1.54.0"
features = ["full"]