| Crates.io | tectonic_bridge_icu |
| lib.rs | tectonic_bridge_icu |
| version | 0.2.1 |
| created_at | 2021-01-16 00:03:09.60056+00 |
| updated_at | 2024-02-05 01:40:41.411229+00 |
| description | Expose a subset of the ICU Unicode APIs to Rust/Cargo. |
| homepage | https://tectonic-typesetting.github.io/ |
| repository | https://github.com/tectonic-typesetting/tectonic/ |
| max_upload_size | |
| id | 342616 |
| size | 6,027 |
tectonic_bridge_icu crateThis crate is part of the Tectonic project. It exposes the C API of the ICU4C Unicode library the Rust/Cargo build framework, with no Rust bindings.
There are a variety of other low-level ICU-related crates available, with rust_icu perhaps taking the most systematic approach. This package is distinctive because:
Ideally, though, one day this crate will be superseded by a true Rust “sys crate”.
If your project depends on this crate, Cargo will export for your build script
an environment variable named DEP_ICUUC_INCLUDE_PATH, which will be a
semicolon-separated list of C include directories enabling your code to include
the unicode/* headers.
You will need to ensure that your Rust code actually references this crate in
order for the linker to include linked libraries. A use statement will
suffice:
#[allow(unused_imports)]
#[allow(clippy::single_component_path_imports)]
use tectonic_bridge_icu;
At the moment this crate does not provide any Cargo features.