Skip to content

Rustdocs missing for some core items #781

@Evian-Zhang

Description

@Evian-Zhang

Describe the bug
Some items are core in MCP server development, like rmcp::transport::streamable_http_server::StreamableHttpServerConfig. However, these items are missing in current rustdocs. This is because they are marked with #[cfg(not(feature = "local"))], while you pass all-features = true to docs.rs when building docs. This leads the rustdoc to ignore these items.

To Reproduce
Steps to reproduce the behavior:

  1. Open the latest doc in docs.rs and search for such items

Expected behavior
Such items are present in rustdoc

Additional context
I think a proper workaround is to let docs.rs build rustdoc without local feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is not working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions