Skip to main content

flymcprust_spec/
lib.rs

1//! Model Context Protocol types generated from the official JSON Schema.
2//!
3//! One module per protocol revision. Every module is generated by
4//! `cargo xtask codegen` from the pinned `schema.json` and `schema.ts`; do not
5//! edit them by hand.
6//!
7//! Items marked deprecated by the specification carry `#[deprecated]`, so
8//! using them produces a compiler warning.
9#![forbid(unsafe_code)]
10
11#[allow(
12    deprecated,
13    missing_docs,
14    unreachable_pub,
15    rustdoc::bare_urls,
16    rustdoc::broken_intra_doc_links,
17    rustdoc::invalid_html_tags,
18    clippy::doc_lazy_continuation,
19    clippy::doc_overindented_list_items,
20    clippy::large_enum_variant,
21    clippy::too_many_arguments
22)]
23pub mod v2026_07_28;
24
25/// The latest protocol revision supported by this crate.
26pub use v2026_07_28 as latest;