Fails to compile on Rust > 1.84
Closed this issue · 1 comments
dylan-apollo commented
I can't seem to get this crate to compile on newer Rust versions. I get an error like this:
/rust-mcp-schema-0.7.2/src/generated_schema/2025_06_18/schema_utils.rs:381:69
|
381 | .map_err(|error| RpcError::parse_error().with_data(Some(json!({ "details" : error.to_string() }))))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `json_interal` i
This is after just doing cargo new followed by cargo add rust-mcp-schema.
cargo +1.84 check works fine, but cargo +1.85 check fails.
dylan-apollo commented
Nevermind, this is specifically a problem with serde_json@1.0.143. I thought I'd already checked downgrading that 🤦