Cargo Features

[dependencies]
tectonic = { version = "0.15.0", default-features = false, features = ["serialization", "external-harfbuzz", "geturl-curl", "geturl-reqwest", "native-tls-vendored", "profile"] }
default = geturl-reqwest, serialization

These default features are set whenever tectonic is added without default-features = false somewhere in the dependency tree.

serialization default = serde, tectonic_docmodel, toml

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.

Affects tectonic::docmodel

external-harfbuzz

Enables external-harfbuzz of tectonic_engine_xetex

geturl-curl

Enables geturl-curl of tectonic_bundles, curl of tectonic_geturl

geturl-reqwest default

Enables geturl-reqwest of tectonic_bundles, reqwest of tectonic_geturl

native-tls-vendored

Enables native-tls-vendored of tectonic_bundles and tectonic_geturl

profile

developer feature to compile with the necessary flags for profiling tectonic.

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

serde serialization
tectonic_docmodel serialization
toml serialization

Enables toml ^0.7