Expand description
A library to simply fetch stuff, regardless of whether it’s from
the internet, from the filesystem, inside a gzipped archive,
whatever. Used by scaff
so it can focus on what’s important: The
contents of the specified archive.
Structs§
- A wrapper around
ureq::Agent
that supports opening any kind ofFetchable
resource
Enums§
- An enum wrapping the two common fetchers
PathBuf
andUrl
. This is more efficient than usingBox<dyn Fetcher>
.
Traits§
- Something that can be turned into a reader given a fetcher. Example is a URL which can be turned into a reader by sending a GET request, or a file path which can be turned into a reader by just opening the file.