contextvm-sdk 0.1.1

Rust SDK for the ContextVM protocol — MCP over Nostr
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 = "contextvm-sdk"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust SDK for the ContextVM protocol — MCP over Nostr"
homepage = "https://contextvm.org"
documentation = "https://docs.rs/contextvm-sdk"
readme = "README.md"
keywords = [
    "nostr",
    "mcp",
    "modelcontextprotocol",
    "decentralized",
    "ai",
]
categories = [
    "network-programming",
    "api-bindings",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/ContextVM/rs-sdk"

[features]
default = ["rmcp"]
rmcp = ["dep:rmcp"]
test-utils = []

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

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

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

[[example]]
name = "native_echo_client"
path = "examples/native_echo_client.rs"
required-features = ["rmcp"]

[[example]]
name = "native_echo_server"
path = "examples/native_echo_server.rs"
required-features = ["rmcp"]

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

[[example]]
name = "rmcp_integration_test"
path = "examples/rmcp_integration_test.rs"
required-features = ["rmcp"]

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

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

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

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

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

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

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

[[test]]
name = "transport_integration"
path = "tests/transport_integration.rs"
required-features = ["test-utils"]

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

[dependencies.lru]
version = "0.12"

[dependencies.nostr-sdk]
version = "0.43"
features = ["nip59"]

[dependencies.rmcp]
version = "0.16.0"
features = [
    "server",
    "client",
    "macros",
    "transport-worker",
]
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2.0"

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

[dependencies.tokio-util]
version = "0.7"
features = ["rt"]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.anyhow]
version = "1"

[dev-dependencies.schemars]
version = "0.8"

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

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