6 releases
0.2.2 | Feb 5, 2024 |
---|---|
0.2.1 | May 18, 2023 |
0.2.0 | Oct 3, 2022 |
0.1.2 | Feb 28, 2022 |
0.1.0 | Jun 15, 2021 |
#966 in Encoding
506 downloads per month
Used in tectonic
35KB
560 lines
The tectonic_docmodel
crate
This crate is part of the Tectonic
project. It implements the
Tectonic document model, including the Tectonic.toml
file.
Cargo features
This crate does not currently provides any Cargo features.
lib.rs
:
The Tectonic document model and its serialization into Tectonic.toml
.
This crate provides data structures and serialization support for the
Tectonic document model and its expression in the Tectonic.toml
file. It
only provides data access: you can use this crate without needing to link
with the full Tectonic engines and all of the dependencies they drag in. The
main tectonic
crate provides extension traits that attach actual
document-processing capabilities to these data structures.
Your primary entrypoint to this crate will likely be
workspace::Workspace::open_from_environment
, which will attempt to load
up a workspace by searching the process’ current directory and parents for a
Tectonic.toml
file. There is also workspace::WorkspaceCreator
for
creating new workspaces from scratch.
Dependencies
~0.6–1.2MB
~28K SLoC