corrosive_agents 0.0.1

Build verifiable, interactive AI agents powered by NVIDIA Nemotron free LLM models — MCP, skills, Ed25519 identity, REST/WebSocket/gRPC transports, and pluggable vector stores (Pinecone, Qdrant, custom).
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.88"
name = "corrosive_agents"
version = "0.0.1"
authors = ["Kalanamith <gayanworks@gmail.com>"]
build = false
exclude = [
    ".env",
    ".github/",
    "TODO.md",
    "tools/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Build verifiable, interactive AI agents powered by NVIDIA Nemotron free LLM models — MCP, skills, Ed25519 identity, REST/WebSocket/gRPC transports, and pluggable vector stores (Pinecone, Qdrant, custom)."
documentation = "https://docs.rs/corrosive_agents"
readme = "README.md"
keywords = [
    "agent",
    "llm",
    "nemotron",
    "mcp",
    "ai",
]
categories = [
    "asynchronous",
    "api-bindings",
    "web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tapiocaboy/corrosive_agents"

[package.metadata.release]
allow-branch = ["main"]
publish = false
push = true
tag-name = "v{{version}}"
tag-message = "corrosive_agents v{{version}}"

[[package.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
search = '## \[Unreleased\]'
replace = """
## [Unreleased]

## [{{version}}] - {{date}}"""
exactly = 1

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = ["server"]
full = [
    "server",
    "grpc",
    "tls",
    "openapi",
    "x509",
    "pinecone",
    "qdrant",
    "pgvector",
    "sqlite-sessions",
    "redis-sessions",
]
grpc = [
    "dep:tonic",
    "dep:tonic-prost",
    "dep:prost",
    "dep:hmac",
    "dep:sha2",
    "dep:ring",
]
openapi = [
    "server",
    "dep:utoipa",
]
pgvector = [
    "dep:tokio-postgres",
    "dep:pgvector",
]
pinecone = []
qdrant = ["uuid/v5"]
redis-sessions = ["dep:redis"]
server = [
    "dep:axum",
    "dep:hmac",
    "dep:sha2",
    "dep:ring",
]
sqlite-sessions = ["dep:rusqlite"]
tls = [
    "dep:axum-server",
    "tonic?/tls-ring",
]
x509 = [
    "dep:rcgen",
    "dep:x509-parser",
    "ed25519-dalek/pkcs8",
]

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

[[example]]
name = "a2a_delegation"
path = "examples/a2a_delegation.rs"
required-features = ["server"]

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

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

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

[[example]]
name = "serve"
path = "examples/serve.rs"
required-features = ["server"]

[[example]]
name = "serve_grpc"
path = "examples/serve_grpc.rs"
required-features = ["grpc"]

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

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

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

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

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

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

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

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

[dependencies.async-stream]
version = "0.3"

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

[dependencies.axum]
version = "0.8"
features = ["ws"]
optional = true

[dependencies.axum-server]
version = "0.8"
features = ["tls-rustls"]
optional = true

[dependencies.base64]
version = "0.22"

[dependencies.bs58]
version = "0.5"

[dependencies.ed25519-dalek]
version = "2"
features = ["rand_core"]

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

[dependencies.hmac]
version = "0.12"
optional = true

[dependencies.pgvector]
version = "0.4"
features = ["postgres"]
optional = true

[dependencies.prost]
version = "0.14"
optional = true

[dependencies.rand]
version = "0.8"

[dependencies.rcgen]
version = "0.13"
optional = true

[dependencies.redis]
version = "0.27"
features = [
    "tokio-comp",
    "connection-manager",
]
optional = true
default-features = false

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
    "stream",
]
default-features = false

[dependencies.ring]
version = "0.17"
optional = true

[dependencies.rusqlite]
version = "0.32"
features = ["bundled"]
optional = true

[dependencies.semver]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "sync",
    "time",
    "io-util",
    "process",
    "net",
    "signal",
]

[dependencies.tokio-postgres]
version = "0.7"
features = ["with-serde_json-1"]
optional = true

[dependencies.tonic]
version = "0.14"
optional = true

[dependencies.tonic-prost]
version = "0.14"
optional = true

[dependencies.tracing]
version = "0.1"

[dependencies.utoipa]
version = "5"
optional = true

[dependencies.uuid]
version = "1"
features = ["v4"]

[dependencies.x509-parser]
version = "0.16"
optional = true

[dev-dependencies.axum]
version = "0.8"
features = ["ws"]

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

[dev-dependencies.dotenvy]
version = "0.15"

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

[dev-dependencies.tracing-subscriber]
version = "0.3"