2016-12-08 10:29:54 +08:00
|
|
|
# Cargo.toml -- Cargo definition file for Tectonic.
|
2023-09-04 23:42:08 +08:00
|
|
|
# Copyright 2016-2023 the Tectonic Project
|
2016-12-08 10:29:54 +08:00
|
|
|
# Licensed under the MIT License.
|
|
|
|
|
2016-12-07 12:53:20 +08:00
|
|
|
[package]
|
|
|
|
name = "tectonic"
|
2023-09-04 23:42:19 +08:00
|
|
|
version = "0.0.0-dev.0" # assigned with cranko (see README)
|
2016-12-07 12:53:20 +08:00
|
|
|
authors = ["Peter Williams <peter@newton.cx>"]
|
2017-03-06 01:31:51 +08:00
|
|
|
description = """
|
|
|
|
A modernized, complete, embeddable TeX/LaTeX engine. Tectonic is forked from the XeTeX
|
2024-02-14 10:37:04 +08:00
|
|
|
extension to the classic "Web2C" implementation of TeX and uses the TeXLive distribution
|
2017-03-06 01:31:51 +08:00
|
|
|
of support files.
|
|
|
|
"""
|
2017-03-06 03:39:48 +08:00
|
|
|
homepage = "https://tectonic-typesetting.github.io/"
|
2017-07-09 21:57:52 +08:00
|
|
|
documentation = "https://docs.rs/tectonic"
|
2017-03-06 03:39:48 +08:00
|
|
|
repository = "https://github.com/tectonic-typesetting/tectonic/"
|
2021-06-05 04:26:25 +08:00
|
|
|
readme = "CARGO_README.md"
|
2017-03-06 01:31:51 +08:00
|
|
|
keywords = ["tex", "latex", "typesetting", "font"]
|
2024-09-19 22:51:38 +08:00
|
|
|
categories = [
|
|
|
|
"command-line-interface",
|
|
|
|
"parser-implementations",
|
|
|
|
"rendering",
|
|
|
|
"science",
|
|
|
|
"text-processing",
|
|
|
|
]
|
2017-03-06 01:31:51 +08:00
|
|
|
license = "MIT"
|
2019-06-09 20:39:22 +08:00
|
|
|
edition = "2018"
|
2019-12-10 12:33:15 +08:00
|
|
|
exclude = ["/dist/", "/reference_sources/"]
|
2017-03-06 01:31:51 +08:00
|
|
|
|
2024-06-27 05:07:40 +08:00
|
|
|
[lints.rust]
|
|
|
|
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] }
|
|
|
|
|
2017-03-06 01:31:51 +08:00
|
|
|
[badges]
|
2017-03-06 04:15:42 +08:00
|
|
|
travis-ci = { repository = "tectonic-typesetting/tectonic" }
|
2018-01-23 23:00:49 +08:00
|
|
|
codecov = { repository = "tectonic-typesetting/tectonic", service = "github" }
|
2017-03-06 01:31:51 +08:00
|
|
|
|
|
|
|
[workspace]
|
2021-01-02 06:40:47 +08:00
|
|
|
members = [
|
2024-03-08 04:11:38 +08:00
|
|
|
"crates/bridge_flate",
|
|
|
|
"crates/bridge_freetype2",
|
|
|
|
"crates/bridge_graphite2",
|
|
|
|
"crates/bridge_harfbuzz",
|
|
|
|
"crates/bridge_icu",
|
|
|
|
"crates/bundles",
|
|
|
|
"crates/cfg_support",
|
|
|
|
"crates/dep_support",
|
|
|
|
"crates/docmodel",
|
|
|
|
"crates/engine_bibtex",
|
|
|
|
"crates/engine_spx2html",
|
|
|
|
"crates/engine_xdvipdfmx",
|
|
|
|
"crates/engine_xetex",
|
|
|
|
"crates/errors",
|
|
|
|
"crates/geturl",
|
|
|
|
"crates/io_base",
|
|
|
|
"crates/pdf_io",
|
|
|
|
"crates/status_base",
|
|
|
|
"crates/xdv",
|
|
|
|
"crates/xetex_format",
|
|
|
|
"crates/xetex_layout",
|
2021-01-02 06:40:47 +08:00
|
|
|
]
|
2016-12-07 12:53:20 +08:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
name = "tectonic"
|
|
|
|
crate-type = ["rlib"]
|
|
|
|
|
|
|
|
[dependencies]
|
2024-03-08 04:11:38 +08:00
|
|
|
byte-unit = "^5.0"
|
2020-10-12 15:19:38 +08:00
|
|
|
cfg-if = "1.0"
|
2018-07-23 06:16:37 +08:00
|
|
|
error-chain = "^0.12"
|
2021-01-02 11:55:25 +08:00
|
|
|
flate2 = { version = "^1.0.19", default-features = false, features = ["zlib"] }
|
2017-05-22 11:08:23 +08:00
|
|
|
fs2 = "^0.4"
|
2019-08-26 15:41:18 +08:00
|
|
|
lazy_static = "^1.4"
|
2016-12-07 12:53:20 +08:00
|
|
|
libc = "^0.2"
|
2023-05-12 02:04:01 +08:00
|
|
|
md-5 = "^0.10"
|
2024-03-08 04:11:38 +08:00
|
|
|
open = "^5.0"
|
|
|
|
quick-xml = "^0.31"
|
2019-03-05 02:05:32 +08:00
|
|
|
serde = { version = "^1.0", features = ["derive"], optional = true }
|
2023-05-12 02:04:43 +08:00
|
|
|
sha2 = "^0.10"
|
2024-02-28 02:38:27 +08:00
|
|
|
clap = { version = "4.5.1", features = ["derive"] }
|
2021-01-18 04:38:18 +08:00
|
|
|
tectonic_bridge_core = { path = "crates/bridge_core", version = "0.0.0-dev.0" }
|
2021-06-13 23:47:54 +08:00
|
|
|
tectonic_bundles = { path = "crates/bundles", version = "0.0.0-dev.0", default-features = false }
|
2021-06-10 10:27:36 +08:00
|
|
|
tectonic_docmodel = { path = "crates/docmodel", version = "0.0.0-dev.0", optional = true }
|
2021-01-18 10:25:00 +08:00
|
|
|
tectonic_engine_bibtex = { path = "crates/engine_bibtex", version = "0.0.0-dev.0" }
|
2022-02-21 06:25:40 +08:00
|
|
|
tectonic_engine_spx2html = { path = "crates/engine_spx2html", version = "0.0.0-dev.0" }
|
2021-03-30 11:34:37 +08:00
|
|
|
tectonic_engine_xdvipdfmx = { path = "crates/engine_xdvipdfmx", version = "0.0.0-dev.0" }
|
2021-03-31 09:50:26 +08:00
|
|
|
tectonic_engine_xetex = { path = "crates/engine_xetex", version = "0.0.0-dev.0" }
|
2021-01-07 12:37:49 +08:00
|
|
|
tectonic_errors = { path = "crates/errors", version = "0.0.0-dev.0" }
|
2021-01-13 03:53:33 +08:00
|
|
|
tectonic_geturl = { path = "crates/geturl", version = "0.0.0-dev.0", default-features = false }
|
2021-01-07 12:37:49 +08:00
|
|
|
tectonic_io_base = { path = "crates/io_base", version = "0.0.0-dev.0" }
|
|
|
|
tectonic_status_base = { path = "crates/status_base", version = "0.0.0-dev.0" }
|
2021-01-02 03:19:03 +08:00
|
|
|
tectonic_xdv = { path = "crates/xdv", version = "0.0.0-dev.0" }
|
2021-01-30 03:32:52 +08:00
|
|
|
tectonic_xetex_layout = { path = "crates/xetex_layout", version = "0.0.0-dev.0" }
|
2021-01-12 16:28:22 +08:00
|
|
|
tempfile = "^3.1"
|
2020-01-14 00:33:26 +08:00
|
|
|
termcolor = "^1.1"
|
2023-05-12 01:49:50 +08:00
|
|
|
tokio = "^1.0"
|
2024-03-08 04:11:38 +08:00
|
|
|
toml = { version = "^0.8", optional = true }
|
2021-01-13 03:57:47 +08:00
|
|
|
url = "^2.0"
|
2024-03-08 05:27:41 +08:00
|
|
|
watchexec = "^3.0"
|
|
|
|
watchexec-filterer-globset = "3.0"
|
|
|
|
watchexec-signals = "2.0"
|
|
|
|
watchexec-supervisor = "1.0"
|
2023-05-12 02:25:33 +08:00
|
|
|
zip = { version = "^0.6", default-features = false, features = ["deflate"] }
|
2024-06-27 02:39:22 +08:00
|
|
|
time = "0.3.36"
|
2024-03-12 23:53:20 +08:00
|
|
|
clap_complete = "4.5.1"
|
2024-09-19 22:51:38 +08:00
|
|
|
walkdir = "2"
|
|
|
|
regex = "1.10.2"
|
|
|
|
anyhow = "1.0.80"
|
|
|
|
tar = "0.4.40"
|
|
|
|
tracing = "0.1"
|
|
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
2016-12-07 12:53:20 +08:00
|
|
|
|
2018-11-17 21:51:53 +08:00
|
|
|
[features]
|
2021-01-13 03:53:33 +08:00
|
|
|
default = ["geturl-reqwest", "serialization"]
|
|
|
|
|
2021-06-10 10:27:36 +08:00
|
|
|
# The main motivation for this feature was to be able to compile without
|
|
|
|
# proc-macros (via serde-derive), for statically-linked targets which can't use
|
|
|
|
# them. In the CI, we now build for statically-linked targets using a
|
|
|
|
# cross-compilation model that allows us to have proc-macros anyway. So maybe
|
|
|
|
# this feature should go away? It's kind of annoying to support, and at this
|
|
|
|
# point proc-macros may have snuck into the dependency tree elsewhere, anyway.
|
|
|
|
serialization = ["serde", "tectonic_docmodel", "toml"]
|
2018-11-17 21:51:53 +08:00
|
|
|
|
2021-03-31 09:50:26 +08:00
|
|
|
external-harfbuzz = ["tectonic_engine_xetex/external-harfbuzz"]
|
2021-01-11 02:07:34 +08:00
|
|
|
|
2021-06-13 23:47:54 +08:00
|
|
|
geturl-curl = ["tectonic_bundles/geturl-curl", "tectonic_geturl/curl"]
|
|
|
|
geturl-reqwest = ["tectonic_bundles/geturl-reqwest", "tectonic_geturl/reqwest"]
|
2021-01-13 03:53:33 +08:00
|
|
|
|
2024-09-19 22:51:38 +08:00
|
|
|
native-tls-vendored = [
|
|
|
|
"tectonic_bundles/native-tls-vendored",
|
|
|
|
"tectonic_geturl/native-tls-vendored",
|
|
|
|
]
|
2021-01-16 21:14:47 +08:00
|
|
|
|
2019-09-29 21:59:12 +08:00
|
|
|
# developer feature to compile with the necessary flags for profiling tectonic.
|
|
|
|
profile = []
|
|
|
|
|
2017-06-09 03:18:51 +08:00
|
|
|
[dev-dependencies]
|
2020-10-28 06:13:15 +08:00
|
|
|
filetime = "^0.2"
|
2023-05-12 01:49:50 +08:00
|
|
|
futures = "0.3"
|
2024-03-08 04:11:38 +08:00
|
|
|
headers = "0.4"
|
|
|
|
http-body-util = "0.1.0"
|
|
|
|
hyper = { version = "1.0.0", features = ["server", "http1", "http2"] }
|
2024-09-19 22:51:38 +08:00
|
|
|
hyper-util = { version = "0.1", features = [
|
|
|
|
"server",
|
|
|
|
"http1",
|
|
|
|
"http2",
|
|
|
|
"tokio",
|
|
|
|
] }
|
2019-07-08 20:17:56 +08:00
|
|
|
tempfile = "^3.1"
|
2020-06-01 10:21:37 +08:00
|
|
|
|
|
|
|
[package.metadata.vcpkg]
|
|
|
|
git = "https://github.com/microsoft/vcpkg"
|
2023-09-04 23:42:08 +08:00
|
|
|
rev = "4a600e9fea71bd7872080cbb716797e04d30e6d3"
|
2022-11-02 05:38:13 +08:00
|
|
|
overlay-triplets-path = "dist/vcpkg-triplets"
|
2020-06-01 10:21:37 +08:00
|
|
|
|
2022-11-02 05:38:13 +08:00
|
|
|
# If other targets start using custom triplets like x86_64-pc-windows-msvc,
|
|
|
|
# add them to crates/dep_support/src/lib.rs:new_from_vcpkg() to give users
|
|
|
|
# guidance if they might need to set $VCPKGRS_TRIPLET.
|
2020-06-01 10:21:37 +08:00
|
|
|
[package.metadata.vcpkg.target]
|
2023-09-18 02:46:23 +08:00
|
|
|
x86_64-apple-darwin = { install = ["freetype", "harfbuzz[graphite2]", "icu"] }
|
2024-09-19 22:51:38 +08:00
|
|
|
aarch64-apple-darwin = { triplet = "arm64-osx", install = [
|
|
|
|
"freetype",
|
|
|
|
"harfbuzz[graphite2]",
|
|
|
|
"icu",
|
|
|
|
] }
|
|
|
|
x86_64-unknown-linux-gnu = { install = [
|
|
|
|
"fontconfig",
|
|
|
|
"freetype",
|
|
|
|
"harfbuzz[graphite2]",
|
|
|
|
"icu",
|
|
|
|
] }
|
|
|
|
x86_64-pc-windows-msvc = { triplet = "x64-windows-static-release", install = [
|
|
|
|
"fontconfig",
|
|
|
|
"freetype",
|
|
|
|
"harfbuzz[graphite2]",
|
|
|
|
"icu",
|
|
|
|
] }
|
2020-09-02 08:53:48 +08:00
|
|
|
|
|
|
|
[package.metadata.internal_dep_versions]
|
2023-06-12 03:54:21 +08:00
|
|
|
tectonic_bridge_core = "thiscommit:2023-06-11:PvhF7YB"
|
2021-01-02 06:40:47 +08:00
|
|
|
tectonic_bridge_flate = "thiscommit:2021-01-01:eer4ahL4"
|
2021-01-31 01:25:29 +08:00
|
|
|
tectonic_bridge_graphite2 = "2c1ffcd702a662c003bd3d7d0ca4d169784cb6ad"
|
2023-09-18 02:40:09 +08:00
|
|
|
tectonic_bridge_harfbuzz = "thiscommit:2023-09-17:FZwRtUP"
|
2023-09-18 02:38:05 +08:00
|
|
|
tectonic_bridge_icu = "thiscommit:2023-09-17:AwTXf3W"
|
2022-03-29 23:33:05 +08:00
|
|
|
tectonic_bundles = "thiscommit:2022-03-29:SFnXSaL"
|
2020-09-07 11:22:19 +08:00
|
|
|
tectonic_cfg_support = "thiscommit:aeRoo7oa"
|
2021-01-04 04:06:05 +08:00
|
|
|
tectonic_dep_support = "5faf4205bdd3d31101b749fc32857dd746f9e5bc"
|
2022-10-03 06:22:41 +08:00
|
|
|
tectonic_docmodel = "a88a0418a9c3c559d023d9b1da9b03fce3a469e5"
|
2021-01-18 10:25:00 +08:00
|
|
|
tectonic_engine_bibtex = "thiscommit:2021-01-17:KuhaeG1e"
|
2022-11-22 12:09:46 +08:00
|
|
|
tectonic_engine_spx2html = "thiscommit:2022-11-22:vicemXu"
|
2022-10-03 06:22:41 +08:00
|
|
|
tectonic_engine_xdvipdfmx = "8a003834b1f6d967d33cc07de4cc025af14560da"
|
|
|
|
tectonic_engine_xetex = "c135e6a4a5a2e8c2dc4edcbcfd93f7d466ff8f88"
|
2021-01-07 12:37:49 +08:00
|
|
|
tectonic_errors = "317ae79ceaa2593fb56090e37bf1f5cc24213dd9"
|
2021-10-11 22:35:09 +08:00
|
|
|
tectonic_geturl = "68c5fc525c5fead75913bd90380043761bde9f61"
|
2021-06-13 23:44:27 +08:00
|
|
|
tectonic_io_base = "thiscommit:2021-06-13:XFjtSsZ"
|
2021-01-07 12:37:49 +08:00
|
|
|
tectonic_status_base = "317ae79ceaa2593fb56090e37bf1f5cc24213dd9"
|
2020-09-02 08:53:48 +08:00
|
|
|
tectonic_xdv = "c91f2ef37858d1a0a724a5c3ddc2f7ea46373c77"
|
2021-01-31 01:25:29 +08:00
|
|
|
tectonic_xetex_layout = "2c1ffcd702a662c003bd3d7d0ca4d169784cb6ad"
|