[][src]Module tectonic::io

Tectonic’s pluggable I/O backend.

Re-exports

pub use self::filesystem::FilesystemIo;
pub use self::filesystem::FilesystemPrimaryInputIo;
pub use self::memory::MemoryIo;
pub use self::setup::IoSetup;
pub use self::setup::IoSetupBuilder;
pub use self::stack::IoStack;
pub use self::stdstreams::GenuineStdoutIo;

Modules

cached_itarbundle
dirbundle
filesystem
format_cache

Code for locally caching compiled format files.

memory
setup
stack
stdstreams
testing
zipbundle

Structs

InputHandle

Input handles are basically Read objects with a few extras. We don't require the standard io::Seek because we need to provide a dummy implementation for GZip streams, which we wouldn't be allowed to do because both the trait and the target struct are outside of our crate.

OutputHandle

Enums

InputOrigin

What kind of source an input file ultimately came from. We keep track of this in order to be able to emit Makefile-style dependencies for input files. Right now, we only provide enough options to achieve this goal; we could add more.

OpenResult

Traits

AsIoProviderMut

A hack to allow casting of Bundles to IoProviders.

Bundle

A special IoProvider that can make TeX format files.

InputFeatures
IoProvider

A trait for types that can read or write files needed by the TeX engine.

Functions

try_open_file