Skip to main content

Crate rustdoc_query

Crate rustdoc_query 

Source
Expand description

Query Rust crates’ public APIs from rustdoc JSON.

The supported API consists of generated request and outcome types in contract::generated, the direct-library service::RustdocQueryService, and the embeddable MCP adapter mcp::RustdocMcpServer.

Construct a service, submit a generated request, and match its generated outcome. The service fetches and caches rustdoc data as needed.

Modules§

contract
Versioned request, result, and error types for rustdoc-query.
mcp
MCP transport and its tool handlers.
service
Public application service for the generated rustdoc-query contract.