-
Notifications
You must be signed in to change notification settings - Fork 401
Closed
Labels
T-bugBug fixes and error correctionsBug fixes and error corrections
Description
Describe the bug
Compilation errors in multi workspace setup.
To Reproduce
Steps to reproduce the behavior:
- Define rmcp in internal workspace, or define it in root Cargo.toml and try to use it in internal workspace (via
rmcp.workspace = true) it throws compilation errors
Logs
Compilation error:
error[E0433]: failed to resolve: could not find `SchemaGenerator` in `schemars`
--> /home/ssdd/RustroverProjects/rust-sdk/crates/rmcp/src/handler/server/tool.rs:17:28
|
17 | let schema = schemars::SchemaGenerator::default().into_root_schema_for::<T>();
| ^^^^^^^^^^^^^^^ could not find `SchemaGenerator` in `schemars`Additional context
rustc version: 1.86.0 (05f9846f8 2025-03-31)
Metadata
Metadata
Assignees
Labels
T-bugBug fixes and error correctionsBug fixes and error corrections