tectonic/Cargo.toml

198 lines
6.9 KiB
TOML
Raw Permalink Normal View History

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.
[package]
name = "tectonic"
version = "0.0.0-dev.0" # assigned with cranko (see README)
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.
"""
homepage = "https://tectonic-typesetting.github.io/"
documentation = "https://docs.rs/tectonic"
repository = "https://github.com/tectonic-typesetting/tectonic/"
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"
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]
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]
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",
]
[lib]
name = "tectonic"
crate-type = ["rlib"]
[dependencies]
2024-03-08 04:11:38 +08:00
byte-unit = "^5.0"
cfg-if = "1.0"
error-chain = "^0.12"
flate2 = { version = "^1.0.19", default-features = false, features = ["zlib"] }
fs2 = "^0.4"
lazy_static = "^1.4"
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"
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"] }
tectonic_bridge_core = { path = "crates/bridge_core", version = "0.0.0-dev.0" }
tectonic_bundles = { path = "crates/bundles", version = "0.0.0-dev.0", default-features = false }
tectonic_docmodel = { path = "crates/docmodel", version = "0.0.0-dev.0", optional = true }
tectonic_engine_bibtex = { path = "crates/engine_bibtex", version = "0.0.0-dev.0" }
tectonic_engine_spx2html = { path = "crates/engine_spx2html", version = "0.0.0-dev.0" }
tectonic_engine_xdvipdfmx = { path = "crates/engine_xdvipdfmx", version = "0.0.0-dev.0" }
tectonic_engine_xetex = { path = "crates/engine_xetex", version = "0.0.0-dev.0" }
tectonic_errors = { path = "crates/errors", version = "0.0.0-dev.0" }
tectonic_geturl = { path = "crates/geturl", version = "0.0.0-dev.0", default-features = false }
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" }
tectonic_xdv = { path = "crates/xdv", version = "0.0.0-dev.0" }
tectonic_xetex_layout = { path = "crates/xetex_layout", version = "0.0.0-dev.0" }
2021-01-12 16:28:22 +08:00
tempfile = "^3.1"
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 }
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"
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"] }
2018-11-17 21:51:53 +08:00
[features]
default = ["geturl-reqwest", "serialization"]
# 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
external-harfbuzz = ["tectonic_engine_xetex/external-harfbuzz"]
geturl-curl = ["tectonic_bundles/geturl-curl", "tectonic_geturl/curl"]
geturl-reqwest = ["tectonic_bundles/geturl-reqwest", "tectonic_geturl/reqwest"]
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
# developer feature to compile with the necessary flags for profiling tectonic.
profile = []
[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",
] }
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"
overlay-triplets-path = "dist/vcpkg-triplets"
2020-06-01 10:21:37 +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]
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",
] }
[package.metadata.internal_dep_versions]
tectonic_bridge_core = "thiscommit:2023-06-11:PvhF7YB"
tectonic_bridge_flate = "thiscommit:2021-01-01:eer4ahL4"
tectonic_bridge_graphite2 = "2c1ffcd702a662c003bd3d7d0ca4d169784cb6ad"
tectonic_bridge_harfbuzz = "thiscommit:2023-09-17:FZwRtUP"
tectonic_bridge_icu = "thiscommit:2023-09-17:AwTXf3W"
tectonic_bundles = "thiscommit:2022-03-29:SFnXSaL"
tectonic_cfg_support = "thiscommit:aeRoo7oa"
tectonic_dep_support = "5faf4205bdd3d31101b749fc32857dd746f9e5bc"
tectonic_docmodel = "a88a0418a9c3c559d023d9b1da9b03fce3a469e5"
tectonic_engine_bibtex = "thiscommit:2021-01-17:KuhaeG1e"
tectonic_engine_spx2html = "thiscommit:2022-11-22:vicemXu"
tectonic_engine_xdvipdfmx = "8a003834b1f6d967d33cc07de4cc025af14560da"
tectonic_engine_xetex = "c135e6a4a5a2e8c2dc4edcbcfd93f7d466ff8f88"
tectonic_errors = "317ae79ceaa2593fb56090e37bf1f5cc24213dd9"
tectonic_geturl = "68c5fc525c5fead75913bd90380043761bde9f61"
tectonic_io_base = "thiscommit:2021-06-13:XFjtSsZ"
tectonic_status_base = "317ae79ceaa2593fb56090e37bf1f5cc24213dd9"
tectonic_xdv = "c91f2ef37858d1a0a724a5c3ddc2f7ea46373c77"
tectonic_xetex_layout = "2c1ffcd702a662c003bd3d7d0ca4d169784cb6ad"