Expand description
Crates.io API Client
Provides functionality to query crates.io for version information and verify published crate status.
Features:
- In-memory caching with TTL
- Persistent file-based cache for offline mode
- Configurable cache TTL
Structsยง
- Cache
Entry - Cache entry with TTL
- Crate
Data - Core crate data from crates.io
- Crate
Response - Response from crates.io API for a single crate
- Crates
IoClient - Client for interacting with crates.io API
- Dependency
Data - Individual dependency data from crates.io
- Dependency
Response - Response from crates.io dependencies endpoint
- Mock
Crates IoClient - Mock client for testing without network calls
- Persistent
Cache - Persistent cache stored on disk
- Persistent
Cache Entry - Persistent cache entry (stored on disk)
- Version
Data - Version data from crates.io