Crates.io | mcp-protocol |
lib.rs | mcp-protocol |
version | |
source | src |
created_at | 2025-05-02 22:27:07.166857+00 |
updated_at | 2025-05-17 22:50:22.007171+00 |
description | Protocol definitions for the Model Context Protocol (MCP) |
homepage | |
repository | https://github.com/colinrozzi/rust-mcp |
max_upload_size | |
id | 1658274 |
Cargo.toml error: | TOML parse error at line 17, column 1 | 17 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
This crate provides the following features:
camel_case
: Serializes the input schema field as "inputSchema" (for JavaScript/TypeScript clients)snake_case
: Serializes the input schema field as "input_schema" (for Ruby/Python clients)Example usage:
# For camel case serialization (JavaScript clients)
mcp-protocol = { version = "0.1.0", features = ["camel_case"] }
# For snake case serialization (Python clients)
mcp-protocol = { version = "0.1.0", features = ["snake_case"] }