agentmesh 4.0.0

Public Preview — Rust SDK for the Agent Governance Toolkit (policy, trust, audit, identity)
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.70"
name = "agentmesh"
version = "4.0.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Public Preview — Rust SDK for the Agent Governance Toolkit (policy, trust, audit, identity)"
documentation = "https://docs.rs/agentmesh"
readme = "README.md"
keywords = [
    "agent",
    "governance",
    "trust",
    "policy",
    "audit",
]
categories = [
    "authentication",
    "cryptography",
]
license = "MIT"
repository = "https://github.com/microsoft/agent-governance-toolkit"

[features]
cli = ["dep:clap"]
telemetry = ["dep:opentelemetry"]

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

[[bin]]
name = "agt"
path = "src/bin/agt/main.rs"
required-features = ["cli"]

[[example]]
name = "audit-logging"
path = "examples/audit-logging.rs"

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

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

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

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

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

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

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

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

[dependencies.aes-gcm]
version = "=0.10.3"

[dependencies.agentmesh-mcp]
version = "4.0.0"

[dependencies.base64]
version = "=0.22.1"

[dependencies.cedar-policy]
version = "=4.11.0"

[dependencies.clap]
version = "=4.6.1"
features = ["derive"]
optional = true

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

[dependencies.hmac]
version = "=0.12.1"

[dependencies.opentelemetry]
version = "=0.32.0"
features = ["trace"]
optional = true
default-features = false

[dependencies.rand]
version = "=0.8.6"

[dependencies.regex]
version = "=1.12.3"

[dependencies.regorus]
version = "=0.10.1"
features = ["regex"]
default-features = false

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

[dependencies.serde_json]
version = "=1.0.150"

[dependencies.serde_yaml]
version = "=0.9.34"

[dependencies.sha2]
version = "=0.10.9"

[dependencies.thiserror]
version = "=2.0.18"

[dev-dependencies.assert_cmd]
version = "=2.2.2"

[dev-dependencies.predicates]
version = "=3.1.4"

[dev-dependencies.tempfile]
version = "=3.27.0"