[][src]Crate tectonic_geturl

A simple, pluggable interface for HTTP GETs and range requests.

The default interface is intentionally exposed as a concrete type, so that crates relying on this one need not use a lot of dyns and impl Traits. It is intended that the choice of HTTP backend is a build-time one, not a runtime one.

Re-exports

pub use crate::reqwest::ReqwestBackend as DefaultBackend;

Modules

null

A geturl backend that always fails.

reqwest

A URL-get backend based on the reqwest crate.

Traits

GetUrlBackend

A trait for simple HTTP operations needed by the Tectonic backends.

RangeReader

A trait for reading byte ranges from an HTTP resource.

Type Definitions

DefaultRangeReader

The range-reader type exposed by the default URL-get backend (for convenience).