llm-content-blocks 0.1.0

Typed fluent builder for Anthropic Messages-API content blocks (text, image, tool_use, tool_result, document). Emits the exact JSON shape the API expects. No SDK dependency.
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 = "2021"
rust-version = "1.74"
name = "llm-content-blocks"
version = "0.1.0"
authors = ["Mukunda Rao Katta <mukunda.vjcs6@gmail.com>"]
build = false
exclude = [
    ".github/*",
    "target/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Typed fluent builder for Anthropic Messages-API content blocks (text, image, tool_use, tool_result, document). Emits the exact JSON shape the API expects. No SDK dependency."
homepage = "https://github.com/MukundaKatta/llm-content-blocks-rs"
documentation = "https://docs.rs/llm-content-blocks"
readme = "README.md"
keywords = [
    "anthropic",
    "claude",
    "llm",
    "content-blocks",
    "messages",
]
categories = ["api-bindings"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/MukundaKatta/llm-content-blocks-rs"

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

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

[dependencies.base64]
version = "0.22"

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

[dependencies.serde_json]
version = "1"

[dev-dependencies.serde_json]
version = "1"