run_code_rmcp 0.2.1

云函数服务,执行JS/TS/Python语言代码,脚本必须有约定的函数名称(handler/main),会调用约定的函数名称结果和日志返回.
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 = "run_code_rmcp"
version = "0.2.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "run_code_rmcp"
description = "云函数服务,执行JS/TS/Python语言代码,脚本必须有约定的函数名称(handler/main),会调用约定的函数名称结果和日志返回."
homepage = "https://nuwax.com/"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/nuwax-ai/run_code_rmcp"
resolver = "2"

[features]
default = []
mcp = ["dep:rmcp"]

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

[[bin]]
name = "run_code_rmcp"
path = "src/main.rs"

[[bin]]
name = "script_runner"
path = "src/script_runner.rs"
required-features = ["mcp"]

[dependencies.anyhow]
version = "1.0"

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

[dependencies.blake3]
version = "1.8"

[dependencies.clap]
version = "4.6"
features = [
    "derive",
    "env",
]

[dependencies.env_logger]
version = "0.11"

[dependencies.log]
version = "0.4"

[dependencies.once_cell]
version = "1.21"

[dependencies.pest]
version = "2.8"
features = ["pretty-print"]

[dependencies.pest_derive]
version = "2.8"

[dependencies.pin-project]
version = "1.1"

[dependencies.regex]
version = "1.12"

[dependencies.rmcp]
version = "0.17"
features = [
    "server",
    "client",
    "transport-io",
    "transport-async-rw",
    "macros",
]
optional = true

[dependencies.schemars]
version = "1.2"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.tempfile]
version = "3.27"

[dependencies.thiserror]
version = "2.0"

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