reqwest types are part of the public API via Client::custom. this is pretty inconvenient because downstream users have to take a direct dependency on reqwest in order to use httpcache. It is additionally inconvenient that the version of reqwest used by the downstream user must match (or be compatible with) the version used in octorust (or other clients).
Possible solutions:
- provide a constructor that takes httpcache but not the client.
- re-export the necessary reqwest types.