Crates.io | tectonic_bridge_core |
lib.rs | tectonic_bridge_core |
version | 0.4.1 |
source | src |
created_at | 2021-06-04 00:51:01.619237 |
updated_at | 2024-02-05 01:41:50.437595 |
description | Exposing core backend APIs to the Tectonic C/C++ code. |
homepage | https://tectonic-typesetting.github.io/ |
repository | https://github.com/tectonic-typesetting/tectonic/ |
max_upload_size | |
id | 405944 |
size | 76,120 |
tectonic_bridge_core
crateThis crate is part of the Tectonic project. It provides a C API to core I/O services provided by the Tectonic Rust code. This API is then consumed by the various C/C++ “engines” implementing the TeX software.
If your project depends on this crate, Cargo will export for your build script
an environment variable named DEP_TECTONIC_BRIDGE_CORE_INCLUDE
, which will be
the name of a directory containing the generated tectonic_bridge_core.h
file
that exposes this crate’s C API.
You will need to ensure that your Rust code actually references this crate in
order for the linker to include the C API symbols. If you are not actively using
its Rust API, a use
statement will suffice:
#[allow(unused_imports)]
#[allow(clippy::single_component_path_imports)]
use tectonic_bridge_core;
This crate does not currently provide any Cargo features.
This crate exposes Rust functions to C/C++ code using a header file created by cbindgen. To update the header, run:
cbindgen --output support/tectonic_bridge_core_generated.h