omegasort 0.1.0

The last text sorting tool you'll ever need
1
2
3
4
5
6
7
8
9
10
11
12
13
// @generated
type DataStruct =
    <::icu::collator::provider::CollationDiacriticsV1Marker as ::icu_provider::DataMarker>::Yokeable;
pub fn lookup(locale: &icu_provider::DataLocale) -> Option<&'static DataStruct> {
    static KEYS: [&str; 4usize] = ["ee", "und", "vi", "vi-u-co-trad"];
    static DATA: [&DataStruct; 4usize] = [&EE, &UND, &VI, &VI];
    KEYS.binary_search_by(|k| locale.strict_cmp(k.as_bytes()).reverse())
        .ok()
        .map(|i| unsafe { *DATA.get_unchecked(i) })
}
static EE: DataStruct = include!("ee.rs.data");
static UND: DataStruct = include!("und.rs.data");
static VI: DataStruct = include!("vi.rs.data");