Files
ghostty-rs/crates/ghostty-unicode/src/props_table.rs
T
ddidderr 126da77a37 style: apply nightly rustfmt import grouping across the workspace
rustfmt.toml sets group_imports, imports_granularity and imports_layout,
which are nightly-only; agents formatted with stable rustfmt, which
ignored them. This is a formatting-only pass with `cargo +nightly fmt`.

Test Plan:
- cargo clippy --workspace --all-targets -- -D warnings
- cargo test --workspace
2026-10-12 05:03:37 +02:00

24 lines
560 B
Rust

//! The generated Unicode property lookup table for Ghostty
//! (`props_table.zig`). Generated by `build.rs`.
use crate::{
lut::Tables,
props::{GraphemeBreakNoControl, Properties},
};
mod generated {
use super::{GraphemeBreakNoControl, Properties};
include!(concat!(env!("OUT_DIR"), "/props_tables.rs"));
}
/// The lookup tables for Ghostty.
#[inline]
#[must_use]
pub fn table() -> Tables<'static, Properties> {
Tables {
stage1: &generated::STAGE1,
stage2: &generated::STAGE2,
stage3: &generated::STAGE3,
}
}