-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Description
Naming in this crate does not conform to official Rust API guidelines on naming.
Particularly the MCP
prefix of some types should read Mcp
(e.g. McpServer
) and getters should not start with get_
.
Vice versa, I think JsonrpcErrorError
should be JsonRpcError
etc. but that may be because this stuff is generated? Maybe a type alias in the resp. crate would be a good idea here.
type JsonRpcError = JsonrpcErrorError;
Would you accept a PR that fixes those?
I can add aliases for the old types/method names w. deprecation warnings too, if you want. Given that this crate does not have that many users (yet) when looking at stats on crates.io
it may not be be necessary and a changelog note may be enough. 😁
Metadata
Metadata
Assignees
Labels
No labels