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
24 lines
560 B
Rust
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,
|
|
}
|
|
}
|