antigravity-sdk-rust 0.1.5

Rust SDK for Google Antigravity and Gemini to build autonomous, stateful, and secure AI 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"
name = "antigravity-sdk-rust"
version = "0.1.5"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust SDK for Google Antigravity and Gemini to build autonomous, stateful, and secure AI agents"
homepage = "https://github.com/codeitlikemiley/antigravity-sdk-rust"
documentation = "https://docs.rs/antigravity-sdk-rust"
readme = "README.md"
license = "MIT"
repository = "https://github.com/codeitlikemiley/antigravity-sdk-rust"

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

[[bin]]
name = "mock_localharness"
path = "src/bin/mock_localharness.rs"

[[bin]]
name = "start_harness"
path = "src/bin/start_harness.rs"

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.dotenvy]
version = "0.15"

[dependencies.futures-util]
version = "0.3"

[dependencies.pbjson]
version = "0.6"

[dependencies.prost]
version = "0.12"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

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

[build-dependencies.pbjson-build]
version = "0.6"

[build-dependencies.prost-build]
version = "0.12"

[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies.getrandom]
version = "0.2"
features = ["js"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1"
features = ["full"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio-tungstenite]
version = "0.21"
features = ["rustls-tls-webpki-roots"]

[target.'cfg(target_arch = "wasm32")'.dependencies.any_spawner]
version = "0.3.0"
features = ["futures-executor"]

[target.'cfg(target_arch = "wasm32")'.dependencies.tokio]
version = "1"
features = [
    "sync",
    "macros",
    "time",
    "rt",
]

[target.'cfg(target_arch = "wasm32")'.dependencies.tungstenite]
version = "0.21"
features = ["handshake"]
default-features = false

[lints.clippy]
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
expect_used = "deny"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
panic = "deny"
return_self_not_must_use = "allow"
todo = "warn"
type_complexity = "allow"
uninlined_format_args = "allow"
unwrap_used = "deny"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -3

[lints.clippy.pedantic]
level = "warn"
priority = -2

[lints.rust]
missing_debug_implementations = "warn"
unsafe_code = "forbid"