-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathCargo.toml
More file actions
60 lines (46 loc) · 1.83 KB
/
Cargo.toml
File metadata and controls
60 lines (46 loc) · 1.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[package]
name = "rust-mcp-schema"
version = "0.10.0"
authors = ["Ali Hashemi"]
categories = ["data-structures", "parser-implementations", "parsing"]
description = "Type-safe implementation of the Model Context Protocol in Rust, designed to reduce errors and accelerate development with powerful utilities."
repository = "https://github.com/rust-mcp-stack/rust-mcp-schema"
documentation = "https://docs.rs/rust-mcp-schema"
keywords = ["rust-mcp-stack", "model", "context", "protocol", "schema"]
license = "MIT"
edition = "2021"
rust-version = "1.80.0"
[lib]
path = "src/rust-mcp-schema.rs"
[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0.143" }
[dev-dependencies]
json5 = { version = "0.4" }
[lints]
[package.metadata.docs.rs]
features = ["2025_11_25", "schema_utils"]
rustdoc-args = ["--generate-link-to-definition"]
[package.metadata.playground]
features = ["2025_11_25", "schema_utils"]
### FEATURES #################################################################
# Features to enable different schema versions and associated schema_utils
[features]
# default features
default = ["2025_11_25", "schema_utils"] # Default features
# activates the latest MCP schema version, this will be updated once a new version of schema is published
latest = ["2025_11_25"]
# enabled mcp schema version 2025_11_25
2025_11_25 = ["latest"]
# enabled mcp schema version 2025_06_18
2025_06_18 = []
# enabled mcp schema version 2025_03_26
2025_03_26 = []
# enabled mcp schema version 2024_11_05
2024_11_05 = []
# enabled draft mcp schema
draft = []
# Enables `schema_utils`, which provides utility types that simplify communication with MCP messages, improving ease of use while reducing potential mistakes and errors when constructing messages.
schema_utils = []
[package.metadata.typos]
default.extend-ignore-re = ["a5ba501"]