StratoSDK is a framework with a declarative approach similar to Flutter/React, written and designed entirely for Rust.
| 1 | #[cfg(native)] |
| 2 | #[cfg_attr(not(macos), allow(dead_code))] |
| 3 | pub mod font_kit; |
| 4 | |
| 5 | #[cfg(test)] |
| 6 | #[path = "text_layout_test.rs"] |
| 7 | mod text_layout_tests; |
| 8 | |
| 9 | pub use strato_ui_core::fonts::*; |
| 10 | |
| 11 | #[cfg(test)] |
| 12 | pub(crate) use text_layout_tests::{collect_glyph_indices, init_fonts}; |
| 13 | |
| 14 | #[cfg(all(test, target_os = "macos"))] |
| 15 | pub(crate) use text_layout_tests::collect_line_caret_position_starts; |
| 16 |