Module outputs

Module outputs 

Source
Expand description

Output types for cache operations

These types are used as the return values from cache tool methods. They are serialized to JSON strings for the MCP protocol, and can be deserialized in tests for type-safe validation.

Structs§

CrateMetadata
Metadata for a single crate
ErrorOutput
Generic error output that can be used by any tool
GetCratesMetadataOutput
Output from get_crates_metadata operation
ListCachedCratesOutput
Output from list_cached_crates operation
ListCrateVersionsOutput
Output from list_crate_versions operation
RemoveCrateOutput
Output from remove_crate operation
SizeInfo
Size information with human-readable format
VersionInfo
Version information for a cached crate

Enums§

CacheCrateOutput
Output from cache_crate operations (crates.io, GitHub, local)