pmcp 2.3.0

High-quality Rust SDK for Model Context Protocol (MCP) with full TypeScript SDK compatibility
Documentation
//! Utility modules for the MCP SDK.

#[cfg(not(target_arch = "wasm32"))]
pub mod batching;
#[cfg(not(target_arch = "wasm32"))]
pub mod parallel_batch;
pub mod validation;

#[cfg(feature = "simd")]
/// SIMD-accelerated JSON parsing utilities for high-performance message processing
pub mod json_simd;

#[cfg(not(target_arch = "wasm32"))]
pub use batching::{BatchingConfig, DebouncingConfig, MessageBatcher, MessageDebouncer};
#[cfg(not(target_arch = "wasm32"))]
pub use parallel_batch::{
    process_batch_parallel, process_batch_parallel_stateful, BatchProcessor, ParallelBatchConfig,
};

#[cfg(feature = "simd")]
pub use json_simd::{parse_json_batch, parse_json_fast, pretty_print_fast, serialize_json_fast};