// build.rs use precis_tools::{ Ascii7Gen, BackwardCompatibleGen, CodepointsGen, DerivedJoiningType, DerivedPropertyValueGen, ExceptionsGen, GeneralCategoryGen, HangulSyllableType, RustCodeGen, UcdFileGen, UcdTableGen, UnassignedTableGen, UnicodeGen, UnicodeVersionGen, ViramaTableGen, }; use std::env; use std::path::Path; use ucd_parse::{CoreProperty, Property, Script}; const UNICODE_VERSION: &str = "6.3.0"; fn generate_context_tables(ucd: &Path, out: &Path) { let mut gen = RustCodeGen::new(Path::new(&out).join("context_tables.rs")).unwrap(); let mut ucd_gen = UcdFileGen::new(ucd); let mut gc_gen = GeneralCategoryGen::new(); let mut script_gen: UnicodeGen