Cargo Features
[dependencies]
rust-mcp-schema = { version = "0.1.4", default-features = false, features = ["latest", "draft", "2024_11_05", "schema_utils"] }
FEATURES
Features to enable different schema versions and associated schema_utils
- default = latest, schema_utils
-
defalt features
Default features - latest default = 2024_11_05
-
activates the latest MCP schema version, this will be updated once a new version of schema is published
- draft
-
enables the draft version of the mcp schema
Affects
generated_schema::schema_utils
… - 2024_11_05 latest
-
enabled mcp schema version 2024_11_05
Affects
generated_schema::schema_utils
… - schema_utils default
-
Enables
schema_utils
, which provides utility types that simplify communication with MCP messages, improving ease of use while reducing potential mistakes ane errors when constructing messages.Affects
generated_schema::schema_utils
,generated_schema::schema_utils
…