2 releases

2.0.0-beta2 Feb 26, 2025
2.0.0-beta1 Nov 23, 2024

#605 in Internationalization (i18n)

Download history 38/week @ 2024-12-07 58/week @ 2024-12-14 5/week @ 2024-12-21 19/week @ 2024-12-28 81/week @ 2025-01-04 36/week @ 2025-01-11 15/week @ 2025-01-18 7/week @ 2025-01-25 7/week @ 2025-02-01 11/week @ 2025-02-08 15/week @ 2025-02-15 157/week @ 2025-02-22 86/week @ 2025-03-01 57/week @ 2025-03-08 90/week @ 2025-03-15 84/week @ 2025-03-22

325 downloads per month
Used in 3 crates (2 directly)

Unicode-3.0

29KB
310 lines

icu_provider_registry crates.io

Exposes the list of all known DataMarkers.

This is modeled as a macro that accepts a callback macro of the shape:

macro_rules! cb {
    ($($marker_ty:ty:$marker:ident,)+ #[experimental] $($emarker_ty:ty:$emarker:ident,)+) => {
        // Do something for each marker, or each experimental marker
    };
}

Calling this as registry!(cb); evaluates cb with the list of markers.

More Information

For more information on development, authorship, contributing etc. please visit ICU4X home page.


lib.rs:

Exposes the list of all known DataMarkers.

This is modeled as a macro that accepts a callback macro of the shape:

macro_rules! cb {
    ($($marker_ty:ty:$marker:ident,)+ #[experimental] $($emarker_ty:ty:$emarker:ident,)+) => {
        // Do something for each marker, or each experimental marker
    };
}

Calling this as registry!(cb); evaluates cb with the list of markers.

No runtime deps