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§
- Crate
Metadata - Metadata for a single crate
- Error
Output - Generic error output that can be used by any tool
- GetCrates
Metadata Output - Output from get_crates_metadata operation
- List
Cached Crates Output - Output from list_cached_crates operation
- List
Crate Versions Output - Output from list_crate_versions operation
- Remove
Crate Output - Output from remove_crate operation
- Size
Info - Size information with human-readable format
- Version
Info - Version information for a cached crate
Enums§
- Cache
Crate Output - Output from cache_crate operations (crates.io, GitHub, local)