summaryrefslogtreecommitdiff
path: root/support/texlab/crates/tex/src/tectonic.rs
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-05-28 03:03:21 +0000
committerNorbert Preining <norbert@preining.info>2020-05-28 03:03:21 +0000
commit745892fbddea56040139108277e728b53fd8fc11 (patch)
tree15e55e299b38fccdabce8364f1fbf4f02ef37994 /support/texlab/crates/tex/src/tectonic.rs
parent195ca7e0c377d83455867bdd8e409d4e1cf024ea (diff)
CTAN sync 202005280303
Diffstat (limited to 'support/texlab/crates/tex/src/tectonic.rs')
-rw-r--r--support/texlab/crates/tex/src/tectonic.rs32
1 files changed, 0 insertions, 32 deletions
diff --git a/support/texlab/crates/tex/src/tectonic.rs b/support/texlab/crates/tex/src/tectonic.rs
deleted file mode 100644
index 605e79dc92..0000000000
--- a/support/texlab/crates/tex/src/tectonic.rs
+++ /dev/null
@@ -1,32 +0,0 @@
-use super::compile::*;
-use super::{Distribution, DistributionKind};
-use futures_boxed::boxed;
-
-#[derive(Debug, Default)]
-pub struct Tectonic;
-
-impl Distribution for Tectonic {
- fn kind(&self) -> DistributionKind {
- DistributionKind::Tectonic
- }
-
- fn supports_format(&self, format: Format) -> bool {
- match format {
- Format::Latex | Format::Pdflatex | Format::Xelatex => true,
- Format::Lualatex => false,
- }
- }
-
- fn output_kind(&self, _format: Format) -> OutputKind {
- OutputKind::Pdf
- }
-
- #[boxed]
- async fn compile<'a>(
- &'a self,
- params: CompileParams<'a>,
- ) -> Result<CompileResult, CompileError> {
- let args = [params.file_name];
- compile("tectonic", &args, params).await
- }
-}