composio-sdk 0.2.0

Minimal Rust SDK for Composio Tool Router REST API
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"
name = "composio-sdk"
version = "0.2.0"
authors = ["DotViegas <https://github.com/DotViegas>"]
build = "build.rs"
exclude = [
    "CLEANUP_REPORT.md",
    ".git/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Minimal Rust SDK for Composio Tool Router REST API"
homepage = "https://github.com/DotViegas/composio-sdk-rust"
documentation = "https://docs.rs/composio-sdk"
readme = "README.md"
keywords = [
    "composio",
    "api",
    "sdk",
    "tool-router",
    "ai",
]
categories = [
    "api-bindings",
    "web-programming::http-client",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/DotViegas/composio-sdk-rust"

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

[features]
default = []
local-debug = [
    "tracing",
    "tracing-subscriber",
]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.base64]
version = "0.21"

[dependencies.chrono]
version = "0.4"

[dependencies.dirs]
version = "5.0"

[dependencies.hmac]
version = "0.12"

[dependencies.md5]
version = "0.7"

[dependencies.mime]
version = "0.3"

[dependencies.mime_guess]
version = "2.0"

[dependencies.reqwest]
version = "0.11"
features = ["json"]

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.0"
features = ["full"]

[dependencies.tokio-retry]
version = "0.3"

[dependencies.tracing]
version = "0.1"
optional = true

[dependencies.tracing-subscriber]
version = "0.3"
optional = true

[dependencies.url]
version = "2.5"

[dependencies.urlencoding]
version = "2.1"

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

[dev-dependencies.criterion]
version = "0.5"
features = ["async_tokio"]

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

[dev-dependencies.tokio-test]
version = "0.4"

[dev-dependencies.wiremock]
version = "0.5"