antigravity-codes 0.1.10

Typed Rust SDK for the Google Antigravity localharness agent runtime: serde models of its protobuf-JSON WebSocket protocol, the length-prefixed stdio handshake, and an async (Tokio) client with step assembly, tool dispatch, hooks, and policy callbacks.
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.85"
name = "antigravity-codes"
version = "0.1.10"
authors = ["Matthew Goodman <d3a6d0cec0c16f3e@inboxnegative.com>"]
build = false
exclude = [
    "tests/schemas/",
    "*.sh",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Typed Rust SDK for the Google Antigravity localharness agent runtime: serde models of its protobuf-JSON WebSocket protocol, the length-prefixed stdio handshake, and an async (Tokio) client with step assembly, tool dispatch, hooks, and policy callbacks."
homepage = "https://github.com/meawoppl/rust-code-agent-sdks"
documentation = "https://docs.rs/antigravity-codes"
readme = "README.md"
keywords = [
    "antigravity",
    "agent",
    "llm",
    "gemini",
    "websocket",
]
categories = [
    "api-bindings",
    "asynchronous",
    "encoding",
    "parsing",
]
license = "Apache-2.0"
repository = "https://github.com/meawoppl/rust-code-agent-sdks"

[features]
async-client = [
    "types",
    "dep:tokio",
    "dep:tokio-tungstenite",
    "dep:futures-util",
    "dep:log",
    "dep:which",
]
default = [
    "types",
    "async-client",
]
integration-tests = ["async-client"]
types = []

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

[[example]]
name = "capture_frames"
path = "examples/capture_frames.rs"
required-features = ["async-client"]

[[example]]
name = "custom_tool"
path = "examples/custom_tool.rs"
required-features = ["async-client"]

[[example]]
name = "stream_chat"
path = "examples/stream_chat.rs"
required-features = ["async-client"]

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

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

[dependencies.base64]
version = "0.22.1"

[dependencies.futures-util]
version = "0.3.31"
features = [
    "sink",
    "std",
]
optional = true
default-features = false

[dependencies.log]
version = "0.4.29"
optional = true

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

[dependencies.serde_json]
version = "1.0.143"

[dependencies.thiserror]
version = "2.0.16"

[dependencies.tokio]
version = "1.49.0"
features = ["full"]
optional = true

[dependencies.tokio-tungstenite]
version = "0.24.0"
features = [
    "connect",
    "handshake",
]
optional = true
default-features = false

[dependencies.which]
version = "8.0.2"
optional = true

[dev-dependencies.env_logger]
version = "0.11.9"

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

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

[lints.rust]
unsafe_code = "deny"