reshape_line/
reshape_line.rs

1use ar_reshaper::ArabicReshaper;
2
3fn main() {
4    let mut reshaper = ArabicReshaper::default();
5
6    // we can modify config after creating `ArabicReshaper`
7    reshaper.modify_config(|c| {
8        c.delete_harakat = true;
9    });
10
11    println!("{}", reshaper.reshape("ههه"));
12}