Skip to content

allow using httpcache without depending on reqwest directly #96

@tamird

Description

@tamird

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions